Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.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.001594/0.001594, allocations: 103 kB / 16.45 MB, free: 6.449 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.001546/0.001546, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.082/3.082, allocations: 0.49 GB / 0.7916 GB, free: 33.18 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.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",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.001984/0.001984, allocations: 63.56 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.01022/0.3737, allocations: 6.633 MB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2035/0.5773, allocations: 155.4 MB / 1.479 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.5789, allocations: 23.81 kB / 1.479 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.5797, allocations: 253.5 kB / 1.479 GB, free: 400 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.5823, allocations: 0.7282 MB / 1.48 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.5853, allocations: 1.068 MB / 1.481 GB, free: 14.6 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003076/0.5884, allocations: 2.161 MB / 1.483 GB, free: 12.43 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.5896, allocations: 0.6438 MB / 1.484 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.591, allocations: 0.8139 MB / 1.485 GB, free: 10.94 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.5923, allocations: 0.8794 MB / 1.485 GB, free: 10.05 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.5926, allocations: 208 kB / 1.486 GB, free: 9.852 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.5944, allocations: 0.7533 MB / 1.486 GB, free: 9.098 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005307/0.5949, allocations: 498.6 kB / 1.487 GB, free: 8.609 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.5959, allocations: 0.902 MB / 1.488 GB, free: 7.703 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.5999, allocations: 2.686 MB / 1.49 GB, free: 5.008 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5999, allocations: 0 / 1.49 GB, free: 5.008 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5999, allocations: 0 / 1.49 GB, free: 5.008 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.946e-05/0.6, allocations: 3.984 kB / 1.49 GB, free: 5.004 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.004349/0.6043, allocations: 2.058 MB / 1.492 GB, free: 2.887 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.6044, allocations: 19.98 kB / 1.492 GB, free: 2.867 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002516/0.6046, allocations: 199 kB / 1.493 GB, free: 2.664 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1103/0.7149, allocations: 15.49 MB / 1.508 GB, free: 3.152 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.7179, allocations: 1.426 MB / 1.509 GB, free: 1.68 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.718, allocations: 102.8 kB / 1.509 GB, free: 1.578 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/0.7184, allocations: 140 kB / 1.509 GB, free: 1.441 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03686/0.7553, allocations: 8.045 MB / 1.517 GB, free: 9.324 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.7553, allocations: 0 / 1.517 GB, free: 9.324 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/0.7556, allocations: 56 kB / 1.517 GB, free: 9.27 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.7557, allocations: 32 kB / 1.517 GB, free: 9.238 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07229/0.828, allocations: 14.14 MB / 1.531 GB, free: 11.07 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04642/0.8744, allocations: 11.71 MB / 1.543 GB, free: 15.14 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04166/0.916, allocations: 8.204 MB / 1.551 GB, free: 6.922 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03472/0.9508, allocations: 6.448 MB / 1.557 GB, free: 476 kB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007891/0.9516, allocations: 0.6022 MB / 1.557 GB, free: 15.74 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03589/0.9874, allocations: 7.053 MB / 1.564 GB, free: 8.652 MB / 1.264 GB Notification: Performance of pre-optimization done (n=115): time 4.108e-06/0.9874, allocations: 0 / 1.564 GB, free: 8.652 MB / 1.264 GB Notification: Performance of matching and sorting (n=115): time 0.1059/1.093, allocations: 18.96 MB / 1.583 GB, free: 5.648 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/1.094, allocations: 196.9 kB / 1.583 GB, free: 5.41 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/1.095, allocations: 0.8375 MB / 1.584 GB, free: 4.562 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000715/1.096, allocations: 53.64 kB / 1.584 GB, free: 4.504 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/1.097, allocations: 0.5638 MB / 1.584 GB, free: 3.934 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.098, allocations: 392.7 kB / 1.585 GB, free: 3.547 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001824/1.099, allocations: 358.5 kB / 1.585 GB, free: 3.191 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.1, allocations: 349.9 kB / 1.585 GB, free: 2.844 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03538/1.135, allocations: 6.556 MB / 1.592 GB, free: 12.28 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03468/1.17, allocations: 6.698 MB / 1.598 GB, free: 5.539 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.716/1.886, allocations: 11.19 MB / 1.609 GB, free: 281.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.886, allocations: 1.125 kB / 1.609 GB, free: 281.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06896/1.955, allocations: 12.63 MB / 1.622 GB, free: 279.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.955, allocations: 5.781 kB / 1.622 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.955, allocations: 1.25 kB / 1.622 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/1.955, allocations: 90.19 kB / 1.622 GB, free: 279.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01832/1.974, allocations: 2.674 MB / 1.624 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/1.976, allocations: 1.636 MB / 1.626 GB, free: 276.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01789/1.994, allocations: 2.463 MB / 1.628 GB, free: 275.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005802/1.994, allocations: 108.1 kB / 1.628 GB, free: 275.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (ove.ove.solAzi.outsidePolarCircle,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 (134): * Single equations (assignments): 133 * 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.001128/1.995, allocations: 352.1 kB / 1.629 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/1.996, allocations: 116.8 kB / 1.629 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0643/2.06, allocations: 13.2 MB / 1.642 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/2.06, allocations: 14.53 kB / 1.642 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/2.06, allocations: 7.875 kB / 1.642 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/2.06, allocations: 7.969 kB / 1.642 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/2.063, allocations: 2.469 MB / 1.644 GB, free: 265.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/2.063, allocations: 0 / 1.644 GB, free: 265.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01723/2.08, allocations: 2.656 MB / 1.647 GB, free: 263.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/2.08, allocations: 72.78 kB / 1.647 GB, free: 263.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004883/2.081, allocations: 99.81 kB / 1.647 GB, free: 263 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/2.082, allocations: 1.674 MB / 1.649 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/2.082, allocations: 0 / 1.649 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0618/2.144, allocations: 12.57 MB / 1.661 GB, free: 248.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/2.146, allocations: 0.8106 MB / 1.662 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004367/2.146, allocations: 35.94 kB / 1.662 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01672/2.163, allocations: 2.398 MB / 1.664 GB, free: 245.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/2.163, allocations: 106.8 kB / 1.664 GB, free: 245.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003491/2.163, allocations: 111.8 kB / 1.664 GB, free: 245.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006452/2.164, allocations: 0.5929 MB / 1.665 GB, free: 244.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/2.164, allocations: 4 kB / 1.665 GB, free: 244.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001909/2.166, allocations: 0.7541 MB / 1.666 GB, free: 243.8 MB / 1.295 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 (136): * Single equations (assignments): 129 * 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.06366/2.23, allocations: 13.68 MB / 1.679 GB, free: 230.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06483/2.294, allocations: 13.37 MB / 1.692 GB, free: 217 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/2.294, allocations: 0 / 1.692 GB, free: 217 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0326/2.327, allocations: 6.76 MB / 1.699 GB, free: 210.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/2.329, allocations: 344 kB / 1.699 GB, free: 209.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1958/2.525, allocations: 45.43 MB / 1.743 GB, free: 164.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/2.525, allocations: 1.199 MB / 1.745 GB, free: 163.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003154/2.529, allocations: 0.7394 MB / 1.745 GB, free: 162.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/2.531, allocations: 0.6903 MB / 1.746 GB, free: 161.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.253e-06/2.531, allocations: 0 / 1.746 GB, free: 161.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08033/2.611, allocations: 50.97 MB / 1.796 GB, free: 110.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/16.51, allocations: 13.7 kB / 1.796 GB, free: 110.8 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.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: 23.191607057815418]