Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001252/0.001252, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001394/0.001394, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.062/3.062, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_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.002013/0.002013, allocations: 72.69 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3564, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008705/0.3651, allocations: 5.617 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.5314, allocations: 133.6 MB / 1.461 GB, free: 6.66 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.5324, allocations: 23.81 kB / 1.461 GB, free: 6.637 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.5335, allocations: 241.7 kB / 1.461 GB, free: 6.398 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.5362, allocations: 0.7251 MB / 1.462 GB, free: 5.672 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.5388, allocations: 1.023 MB / 1.463 GB, free: 4.656 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.5416, allocations: 2.08 MB / 1.465 GB, free: 2.57 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.5429, allocations: 0.5566 MB / 1.465 GB, free: 1.973 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.5442, allocations: 0.7671 MB / 1.466 GB, free: 1.203 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.5455, allocations: 0.7312 MB / 1.467 GB, free: 480 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.546, allocations: 196 kB / 1.467 GB, free: 284 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.5477, allocations: 0.6714 MB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.5483, allocations: 490.5 kB / 1.468 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.5496, allocations: 0.7078 MB / 1.469 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.5532, allocations: 2.542 MB / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.5532, allocations: 0 / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5532, allocations: 7.875 kB / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.535e-05/0.5533, allocations: 4 kB / 1.471 GB, free: 11.85 MB / 1.17 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.004044/0.5573, allocations: 1.911 MB / 1.473 GB, free: 9.895 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5574, allocations: 12.03 kB / 1.473 GB, free: 9.883 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.5576, allocations: 206.6 kB / 1.474 GB, free: 9.672 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.5678, allocations: 1.377 MB / 1.475 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.5701, allocations: 1.003 MB / 1.476 GB, free: 7.262 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.5702, allocations: 102.7 kB / 1.476 GB, free: 7.16 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.5704, allocations: 128 kB / 1.476 GB, free: 7.035 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005708/0.5761, allocations: 2.46 MB / 1.478 GB, free: 4.453 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.5762, allocations: 0 / 1.478 GB, free: 4.453 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.5763, allocations: 55.94 kB / 1.479 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.5764, allocations: 39.97 kB / 1.479 GB, free: 4.359 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008177/0.5845, allocations: 2.917 MB / 1.481 GB, free: 1.434 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.5957, allocations: 4.496 MB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008467/0.6041, allocations: 2.797 MB / 1.489 GB, free: 10.06 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003299/0.6074, allocations: 1.074 MB / 1.49 GB, free: 8.984 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.6078, allocations: 77.23 kB / 1.49 GB, free: 8.906 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003976/0.6118, allocations: 1.558 MB / 1.491 GB, free: 7.305 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.948e-06/0.6118, allocations: 0 / 1.491 GB, free: 7.305 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.0118/0.6236, allocations: 3.554 MB / 1.495 GB, free: 3.742 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6237, allocations: 201.2 kB / 1.495 GB, free: 3.5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.6252, allocations: 0.8452 MB / 1.496 GB, free: 2.645 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.6253, allocations: 53.7 kB / 1.496 GB, free: 2.586 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005206/0.6258, allocations: 0.5211 MB / 1.496 GB, free: 2.059 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.6263, allocations: 460.1 kB / 1.497 GB, free: 1.605 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005444/0.6269, allocations: 258.7 kB / 1.497 GB, free: 1.348 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.627, allocations: 345.9 kB / 1.497 GB, free: 1.004 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/0.6303, allocations: 1.033 MB / 1.498 GB, free: 15.96 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/0.6339, allocations: 1.333 MB / 1.5 GB, free: 14.56 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006417/0.6403, allocations: 2.044 MB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6403, allocations: 0 / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007814/0.6481, allocations: 2.429 MB / 1.504 GB, free: 10.06 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.6482, allocations: 8 kB / 1.504 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6482, allocations: 0 / 1.504 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.6488, allocations: 88.83 kB / 1.504 GB, free: 9.965 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.6512, allocations: 427.3 kB / 1.504 GB, free: 9.547 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.6534, allocations: 1.542 MB / 1.506 GB, free: 7.883 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.6557, allocations: 279 kB / 1.506 GB, free: 7.609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.6559, allocations: 63.92 kB / 1.506 GB, free: 7.547 MB / 1.201 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.001077/0.657, allocations: 357.8 kB / 1.507 GB, free: 7.188 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/0.6575, allocations: 127.1 kB / 1.507 GB, free: 7.062 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009351/0.6668, allocations: 2.884 MB / 1.51 GB, free: 4.164 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.6669, allocations: 16 kB / 1.51 GB, free: 4.148 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6669, allocations: 0 / 1.51 GB, free: 4.148 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.6669, allocations: 11.91 kB / 1.51 GB, free: 4.137 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.6696, allocations: 1.472 MB / 1.511 GB, free: 2.625 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.6696, allocations: 0 / 1.511 GB, free: 2.625 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/0.672, allocations: 407.4 kB / 1.511 GB, free: 2.227 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.6725, allocations: 84.7 kB / 1.511 GB, free: 2.141 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.6726, allocations: 47.94 kB / 1.512 GB, free: 2.094 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.6747, allocations: 1.562 MB / 1.513 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6747, allocations: 0 / 1.513 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007973/0.6827, allocations: 2.592 MB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.6837, allocations: 398.6 kB / 1.516 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.684, allocations: 35.89 kB / 1.516 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.6861, allocations: 231.8 kB / 1.516 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.6864, allocations: 105.1 kB / 1.516 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.6865, allocations: 75.86 kB / 1.516 GB, free: 12.97 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009761/0.6875, allocations: 0.6005 MB / 1.517 GB, free: 12.37 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6875, allocations: 0 / 1.517 GB, free: 12.37 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001465/0.689, allocations: 0.5106 MB / 1.517 GB, free: 11.86 MB / 1.217 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 (148): * Single equations (assignments): 141 * 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.01045/0.6994, allocations: 3.718 MB / 1.521 GB, free: 8.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007705/0.7071, allocations: 2.445 MB / 1.523 GB, free: 5.863 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7071, allocations: 0 / 1.523 GB, free: 5.863 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003954/0.7111, allocations: 1.345 MB / 1.525 GB, free: 4.504 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.7128, allocations: 354.8 kB / 1.525 GB, free: 4.172 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/0.7442, allocations: 12.84 MB / 1.538 GB, free: 7.164 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/0.745, allocations: 0.6157 MB / 1.538 GB, free: 6.516 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001851/0.7469, allocations: 493.6 kB / 1.539 GB, free: 6.031 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.7481, allocations: 0.589 MB / 1.539 GB, free: 5.441 MB / 1.232 GB Notification: Performance of SimCode: time 8.21e-07/0.7481, allocations: 0 / 1.539 GB, free: 5.441 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08234/0.8304, allocations: 35.98 MB / 1.574 GB, free: 1.82 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.48, allocations: 9.859 kB / 1.574 GB, free: 1.812 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.13345765322447]