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.000751/0.000751, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008445/0.0008445, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8677/0.8677, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703/1.703, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.225e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005048/0.005061, allocations: 5.604 MB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6099/0.615, allocations: 133.6 MB / 1.136 GB, free: 13.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.6157, allocations: 29.62 kB / 1.136 GB, free: 13.57 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.6162, allocations: 246.9 kB / 1.136 GB, free: 13.41 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.6176, allocations: 0.7374 MB / 1.137 GB, free: 12.96 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.6191, allocations: 1.041 MB / 1.138 GB, free: 12.41 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.6206, allocations: 2.17 MB / 1.14 GB, free: 11.26 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.6212, allocations: 0.5545 MB / 1.14 GB, free: 10.92 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009107/0.6221, allocations: 1.144 MB / 1.141 GB, free: 10.37 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.6227, allocations: 0.6471 MB / 1.142 GB, free: 10.12 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.6229, allocations: 204.9 kB / 1.142 GB, free: 10.11 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007631/0.6236, allocations: 0.6947 MB / 1.143 GB, free: 9.957 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.624, allocations: 0.4949 MB / 1.143 GB, free: 9.637 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.6244, allocations: 0.6071 MB / 1.144 GB, free: 9.324 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.6267, allocations: 2.722 MB / 1.147 GB, free: 8.199 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6267, allocations: 0 / 1.147 GB, free: 8.199 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6267, allocations: 0 / 1.147 GB, free: 8.199 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.6267, allocations: 1.375 kB / 1.147 GB, free: 8.199 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002314/0.629, allocations: 1.938 MB / 1.149 GB, free: 6.977 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.6291, allocations: 9.531 kB / 1.149 GB, free: 6.977 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.6293, allocations: 203.8 kB / 1.149 GB, free: 6.852 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007935/0.6372, allocations: 1.996 MB / 1.151 GB, free: 6.641 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.6386, allocations: 1.037 MB / 1.152 GB, free: 6.016 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.6387, allocations: 104.7 kB / 1.152 GB, free: 5.969 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.6388, allocations: 141.1 kB / 1.152 GB, free: 5.922 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004596/0.6434, allocations: 2.782 MB / 1.155 GB, free: 4.754 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.6435, allocations: 0 / 1.155 GB, free: 4.754 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.6437, allocations: 58.27 kB / 1.155 GB, free: 4.711 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.6437, allocations: 36.19 kB / 1.155 GB, free: 4.707 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006817/0.6505, allocations: 3.405 MB / 1.158 GB, free: 3.855 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007777/0.6583, allocations: 5.039 MB / 1.163 GB, free: 1.293 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007398/0.6657, allocations: 3.527 MB / 1.166 GB, free: 288 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.6683, allocations: 1.353 MB / 1.168 GB, free: 15.88 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.6686, allocations: 85.56 kB / 1.168 GB, free: 15.86 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003031/0.6716, allocations: 1.848 MB / 1.17 GB, free: 15.23 MB / 1.026 GB Notification: Performance of pre-optimization done (n=143): time 2.826e-06/0.6716, allocations: 0.75 kB / 1.17 GB, free: 15.23 MB / 1.026 GB Notification: Performance of matching and sorting (n=143): time 0.008829/0.6804, allocations: 4.293 MB / 1.174 GB, free: 14.01 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/0.6805, allocations: 216.4 kB / 1.174 GB, free: 13.78 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.6814, allocations: 0.8404 MB / 1.175 GB, free: 13.43 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.6815, allocations: 59.55 kB / 1.175 GB, free: 13.38 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.6818, allocations: 0.5283 MB / 1.175 GB, free: 12.96 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.6821, allocations: 481.5 kB / 1.176 GB, free: 12.54 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/0.6825, allocations: 294.3 kB / 1.176 GB, free: 12.36 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.6826, allocations: 359.1 kB / 1.176 GB, free: 12.02 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.6852, allocations: 1.299 MB / 1.178 GB, free: 11.35 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/0.6879, allocations: 1.61 MB / 1.179 GB, free: 10.35 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/0.693, allocations: 2.488 MB / 1.182 GB, free: 9.039 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.693, allocations: 0 / 1.182 GB, free: 9.039 MB / 1.026 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006028/0.6991, allocations: 2.969 MB / 1.185 GB, free: 7.512 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6991, allocations: 9.531 kB / 1.185 GB, free: 7.508 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.6991, allocations: 0 / 1.185 GB, free: 7.508 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.6994, allocations: 88.02 kB / 1.185 GB, free: 7.465 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.701, allocations: 0.5205 MB / 1.185 GB, free: 7.262 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.7027, allocations: 1.53 MB / 1.187 GB, free: 5.793 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.7044, allocations: 380.3 kB / 1.187 GB, free: 5.582 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.7046, allocations: 78.16 kB / 1.187 GB, free: 5.543 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (159): * Single equations (assignments): 158 * 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.0006918/0.7052, allocations: 356.6 kB / 1.188 GB, free: 5.277 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.7055, allocations: 124.1 kB / 1.188 GB, free: 5.211 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006399/0.7118, allocations: 3.525 MB / 1.191 GB, free: 3.246 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.7119, allocations: 15.38 kB / 1.191 GB, free: 3.246 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.7119, allocations: 0 / 1.191 GB, free: 3.246 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.7119, allocations: 7.969 kB / 1.191 GB, free: 3.238 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007761/0.7196, allocations: 5.318 MB / 1.196 GB, free: 12 kB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7196, allocations: 1.25 kB / 1.196 GB, free: 12 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.7211, allocations: 0.5004 MB / 1.197 GB, free: 15.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/0.7213, allocations: 72.72 kB / 1.197 GB, free: 15.78 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.683e-05/0.7214, allocations: 55.55 kB / 1.197 GB, free: 15.74 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.7225, allocations: 1.567 MB / 1.198 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7225, allocations: 2.25 kB / 1.198 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/0.728, allocations: 3.14 MB / 1.202 GB, free: 12.58 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.7286, allocations: 423.3 kB / 1.202 GB, free: 12.27 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.7287, allocations: 38.5 kB / 1.202 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.73, allocations: 314 kB / 1.202 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.7302, allocations: 114.3 kB / 1.202 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.7303, allocations: 77.88 kB / 1.202 GB, free: 11.97 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005384/0.7308, allocations: 0.6044 MB / 1.203 GB, free: 11.37 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7308, allocations: 0 / 1.203 GB, free: 11.37 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001143/0.732, allocations: 0.5224 MB / 1.204 GB, free: 10.85 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,weaDat.conTimMin.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.007086/0.7391, allocations: 4.279 MB / 1.208 GB, free: 6.746 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005697/0.7448, allocations: 2.992 MB / 1.211 GB, free: 3.742 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7448, allocations: 0 / 1.211 GB, free: 3.742 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.7476, allocations: 1.602 MB / 1.212 GB, free: 2.125 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.7486, allocations: 351.9 kB / 1.213 GB, free: 1.805 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/0.7708, allocations: 14.68 MB / 1.227 GB, free: 2.957 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.7712, allocations: 0.6106 MB / 1.227 GB, free: 2.316 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001326/0.7725, allocations: 0.5642 MB / 1.228 GB, free: 1.75 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009129/0.7734, allocations: 0.6056 MB / 1.229 GB, free: 1.141 MB / 1.057 GB Notification: Performance of SimCode: time 1.243e-06/0.7734, allocations: 0 / 1.229 GB, free: 1.141 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.8183, allocations: 38.51 MB / 1.266 GB, free: 10.95 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/9.181, allocations: 7.188 kB / 1.266 GB, free: 10.95 MB / 1.104 GB " [Timeout remaining time 291] (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/jenkins/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: 13.275910221040249]