Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 214.8 kB / 22.25 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.357/1.357, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.989/2.989, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 73.61 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2987, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008128/0.3068, allocations: 6.355 MB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.4824, allocations: 155.1 MB / 1.51 GB, free: 6.441 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.4835, allocations: 31.81 kB / 1.511 GB, free: 6.41 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.4844, allocations: 241.7 kB / 1.511 GB, free: 6.172 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.4873, allocations: 0.727 MB / 1.511 GB, free: 5.445 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.4903, allocations: 1.028 MB / 1.512 GB, free: 4.422 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003367/0.4937, allocations: 2.091 MB / 1.514 GB, free: 2.324 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.4952, allocations: 0.5839 MB / 1.515 GB, free: 1.699 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.4968, allocations: 0.7671 MB / 1.516 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.4984, allocations: 0.8093 MB / 1.517 GB, free: 120 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003558/0.4987, allocations: 196 kB / 1.517 GB, free: 15.92 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.5002, allocations: 0.7142 MB / 1.517 GB, free: 15.21 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004656/0.5007, allocations: 486.6 kB / 1.518 GB, free: 14.73 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009125/0.5016, allocations: 0.867 MB / 1.519 GB, free: 13.86 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.5044, allocations: 2.534 MB / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5044, allocations: 0 / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5044, allocations: 0 / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.5044, allocations: 0 / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003397/0.5078, allocations: 1.921 MB / 1.523 GB, free: 9.352 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5079, allocations: 12.03 kB / 1.523 GB, free: 9.34 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/0.5081, allocations: 194.7 kB / 1.523 GB, free: 9.141 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.5241, allocations: 1.993 MB / 1.525 GB, free: 7.145 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.5264, allocations: 1.026 MB / 1.526 GB, free: 6.086 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.392e-05/0.5265, allocations: 98.67 kB / 1.526 GB, free: 5.988 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.5267, allocations: 136 kB / 1.527 GB, free: 5.855 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007133/0.5339, allocations: 2.506 MB / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.5339, allocations: 3.938 kB / 1.529 GB, free: 3.285 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.5341, allocations: 52 kB / 1.529 GB, free: 3.234 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.5341, allocations: 32 kB / 1.529 GB, free: 3.203 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.5451, allocations: 3.448 MB / 1.532 GB, free: 15.75 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.558, allocations: 5.965 MB / 1.538 GB, free: 9.598 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.5713, allocations: 3.473 MB / 1.542 GB, free: 6.117 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004932/0.5763, allocations: 1.326 MB / 1.543 GB, free: 4.789 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/0.5766, allocations: 97.34 kB / 1.543 GB, free: 4.695 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005615/0.5823, allocations: 1.727 MB / 1.545 GB, free: 2.949 MB / 1.232 GB Notification: Performance of pre-optimization done (n=133): time 3.396e-06/0.5823, allocations: 0 / 1.545 GB, free: 2.949 MB / 1.232 GB Notification: Performance of matching and sorting (n=133): time 0.01647/0.5987, allocations: 4.256 MB / 1.549 GB, free: 14.68 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5988, allocations: 193.2 kB / 1.549 GB, free: 14.45 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.6002, allocations: 0.8375 MB / 1.55 GB, free: 13.61 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.6004, allocations: 53.7 kB / 1.55 GB, free: 13.55 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.6009, allocations: 0.5327 MB / 1.55 GB, free: 13.01 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/0.6013, allocations: 452.1 kB / 1.551 GB, free: 12.56 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005416/0.6019, allocations: 270.7 kB / 1.551 GB, free: 12.29 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.602, allocations: 353.9 kB / 1.551 GB, free: 11.94 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004922/0.607, allocations: 1.271 MB / 1.553 GB, free: 10.67 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/0.612, allocations: 1.432 MB / 1.554 GB, free: 9.199 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009084/0.6211, allocations: 2.43 MB / 1.556 GB, free: 6.758 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.6211, allocations: 4 kB / 1.556 GB, free: 6.754 MB / 1.248 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01061/0.6317, allocations: 2.889 MB / 1.559 GB, free: 3.852 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6317, allocations: 8 kB / 1.559 GB, free: 3.844 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6317, allocations: 0 / 1.559 GB, free: 3.844 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/0.6323, allocations: 88.83 kB / 1.559 GB, free: 3.754 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.6355, allocations: 0.5108 MB / 1.56 GB, free: 3.242 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.6376, allocations: 1.535 MB / 1.561 GB, free: 1.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.6408, allocations: 367.1 kB / 1.562 GB, free: 1.23 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.641, allocations: 71.89 kB / 1.562 GB, free: 1.16 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008695/0.6419, allocations: 355.3 kB / 1.562 GB, free: 0.8047 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/0.6423, allocations: 127.1 kB / 1.562 GB, free: 0.6797 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.6547, allocations: 3.48 MB / 1.566 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.6548, allocations: 12 kB / 1.566 GB, free: 13.17 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6548, allocations: 3.938 kB / 1.566 GB, free: 13.16 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.6548, allocations: 7.984 kB / 1.566 GB, free: 13.16 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.6574, allocations: 1.965 MB / 1.568 GB, free: 11.14 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.6574, allocations: 0 / 1.568 GB, free: 11.14 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/0.6606, allocations: 0.4953 MB / 1.568 GB, free: 10.64 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.6611, allocations: 76.78 kB / 1.568 GB, free: 10.57 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/0.6613, allocations: 59.91 kB / 1.568 GB, free: 10.51 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.6632, allocations: 1.57 MB / 1.57 GB, free: 8.816 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.6632, allocations: 7.922 kB / 1.57 GB, free: 8.809 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.6741, allocations: 3.022 MB / 1.573 GB, free: 5.762 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.6752, allocations: 422.5 kB / 1.573 GB, free: 5.348 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/0.6755, allocations: 28 kB / 1.573 GB, free: 5.32 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/0.6784, allocations: 315.6 kB / 1.573 GB, free: 5.012 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.6786, allocations: 113 kB / 1.574 GB, free: 4.902 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/0.6788, allocations: 67.92 kB / 1.574 GB, free: 4.836 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009062/0.6797, allocations: 0.6044 MB / 1.574 GB, free: 4.238 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6797, allocations: 0 / 1.574 GB, free: 4.238 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001391/0.6811, allocations: 0.5106 MB / 1.575 GB, free: 3.727 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01315/0.6943, allocations: 4.107 MB / 1.579 GB, free: 15.77 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01067/0.7049, allocations: 2.941 MB / 1.582 GB, free: 12.82 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7049, allocations: 0 / 1.582 GB, free: 12.82 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005511/0.7104, allocations: 1.598 MB / 1.583 GB, free: 11.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.7121, allocations: 345.1 kB / 1.583 GB, free: 10.88 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04089/0.753, allocations: 14.27 MB / 1.597 GB, free: 12.45 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.754, allocations: 1.195 MB / 1.599 GB, free: 11.22 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002274/0.7563, allocations: 0.5639 MB / 1.599 GB, free: 10.65 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.7576, allocations: 0.6006 MB / 1.6 GB, free: 10.05 MB / 1.295 GB Notification: Performance of SimCode: time 7.02e-07/0.7576, allocations: 0 / 1.6 GB, free: 10.05 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6693/1.427, allocations: 36.27 MB / 1.635 GB, free: 249.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/15.28, allocations: 4.812 kB / 1.635 GB, free: 249.3 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.701705005019903]