Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001788/0.001788, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002236/0.002236, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.679/2.679, allocations: 476.7 MB / 0.7714 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",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.002002/0.002002, allocations: 65.2 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 170 MB / 1.284 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007603/0.3259, allocations: 5.027 MB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1835/0.5094, allocations: 154.1 MB / 1.44 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000893/0.5103, allocations: 23.81 kB / 1.44 GB, free: 12.06 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007915/0.5111, allocations: 198.1 kB / 1.44 GB, free: 11.86 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.5133, allocations: 0.5714 MB / 1.44 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.5158, allocations: 0.8725 MB / 1.441 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002137/0.5179, allocations: 1.401 MB / 1.443 GB, free: 9.02 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.519, allocations: 410.9 kB / 1.443 GB, free: 8.594 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.5201, allocations: 0.5022 MB / 1.443 GB, free: 8.09 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.5211, allocations: 0.5017 MB / 1.444 GB, free: 7.586 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.5214, allocations: 116 kB / 1.444 GB, free: 7.473 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.5228, allocations: 0.5113 MB / 1.444 GB, free: 6.961 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.5232, allocations: 299 kB / 1.445 GB, free: 6.668 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009482/0.5241, allocations: 0.5636 MB / 1.445 GB, free: 6.102 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.5274, allocations: 1.677 MB / 1.447 GB, free: 4.418 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.5274, allocations: 0 / 1.447 GB, free: 4.418 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5274, allocations: 0 / 1.447 GB, free: 4.418 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.443e-05/0.5275, allocations: 0 / 1.447 GB, free: 4.418 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004123/0.5316, allocations: 1.423 MB / 1.448 GB, free: 2.957 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.5316, allocations: 8.031 kB / 1.448 GB, free: 2.949 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.395e-05/0.5317, allocations: 22.19 kB / 1.448 GB, free: 2.926 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/0.5319, allocations: 131.3 kB / 1.449 GB, free: 2.789 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.5335, allocations: 232 kB / 1.449 GB, free: 2.562 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.5352, allocations: 0.7178 MB / 1.449 GB, free: 1.816 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.5352, allocations: 70 kB / 1.449 GB, free: 1.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.5354, allocations: 76 kB / 1.45 GB, free: 1.676 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.5372, allocations: 0.9075 MB / 1.45 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5372, allocations: 3.938 kB / 1.45 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/0.5373, allocations: 39.98 kB / 1.45 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.5373, allocations: 24 kB / 1.451 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.5393, allocations: 1.093 MB / 1.452 GB, free: 15.56 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.544, allocations: 2.702 MB / 1.454 GB, free: 12.74 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.5455, allocations: 0.7377 MB / 1.455 GB, free: 12 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.5461, allocations: 274.6 kB / 1.455 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.561e-05/0.5462, allocations: 28.61 kB / 1.455 GB, free: 11.69 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009078/0.5471, allocations: 480.8 kB / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.265e-06/0.5471, allocations: 4 kB / 1.456 GB, free: 11.2 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003325/0.5504, allocations: 1.103 MB / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.5505, allocations: 204.5 kB / 1.457 GB, free: 9.848 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.5516, allocations: 0.6606 MB / 1.458 GB, free: 9.184 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.5517, allocations: 41.7 kB / 1.458 GB, free: 9.137 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.5521, allocations: 409 kB / 1.458 GB, free: 8.73 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.5523, allocations: 261.8 kB / 1.458 GB, free: 8.473 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.5526, allocations: 150.6 kB / 1.458 GB, free: 8.32 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.5528, allocations: 394.7 kB / 1.459 GB, free: 7.926 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.5534, allocations: 245.9 kB / 1.459 GB, free: 7.688 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.5541, allocations: 355.4 kB / 1.459 GB, free: 7.309 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.5552, allocations: 0.5807 MB / 1.46 GB, free: 6.715 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5552, allocations: 4.062 kB / 1.46 GB, free: 6.711 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00213/0.5574, allocations: 0.7984 MB / 1.461 GB, free: 5.898 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5574, allocations: 8 kB / 1.461 GB, free: 5.891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5574, allocations: 4.125 kB / 1.461 GB, free: 5.887 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000647/0.558, allocations: 84.7 kB / 1.461 GB, free: 5.801 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.5587, allocations: 151.8 kB / 1.461 GB, free: 5.652 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.561, allocations: 1.526 MB / 1.462 GB, free: 4.012 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008583/0.5619, allocations: 87.53 kB / 1.463 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.562, allocations: 27.98 kB / 1.463 GB, free: 3.898 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0005865/0.5626, allocations: 273.7 kB / 1.463 GB, free: 3.621 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.5629, allocations: 95.38 kB / 1.463 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.5655, allocations: 1.042 MB / 1.464 GB, free: 2.465 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.5655, allocations: 11.94 kB / 1.464 GB, free: 2.453 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5655, allocations: 4 kB / 1.464 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.5656, allocations: 3.984 kB / 1.464 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.5669, allocations: 0.8754 MB / 1.465 GB, free: 1.527 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.5669, allocations: 4 kB / 1.465 GB, free: 1.523 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.5675, allocations: 139.8 kB / 1.465 GB, free: 1.387 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.5679, allocations: 68.8 kB / 1.465 GB, free: 1.316 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/0.568, allocations: 27.97 kB / 1.465 GB, free: 1.289 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.5701, allocations: 1.559 MB / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5701, allocations: 3.984 kB / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.5723, allocations: 0.9165 MB / 1.467 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.5728, allocations: 195.1 kB / 1.468 GB, free: 14.47 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.5729, allocations: 23.92 kB / 1.468 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/0.5737, allocations: 59.94 kB / 1.468 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.5738, allocations: 80.8 kB / 1.468 GB, free: 14.31 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.5739, allocations: 31.98 kB / 1.468 GB, free: 14.28 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007548/0.5747, allocations: 483 kB / 1.468 GB, free: 13.82 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5747, allocations: 0 / 1.468 GB, free: 13.82 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001052/0.5757, allocations: 319.2 kB / 1.469 GB, free: 13.5 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004603/0.5803, allocations: 1.976 MB / 1.471 GB, free: 11.68 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.5823, allocations: 0.7609 MB / 1.471 GB, free: 10.91 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5823, allocations: 256 / 1.471 GB, free: 10.91 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.5833, allocations: 496.2 kB / 1.472 GB, free: 10.41 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.5848, allocations: 301.3 kB / 1.472 GB, free: 10.14 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.5963, allocations: 6.244 MB / 1.478 GB, free: 3.727 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/0.597, allocations: 1.027 MB / 1.479 GB, free: 2.676 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008673/0.5979, allocations: 266.7 kB / 1.479 GB, free: 2.41 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006293/0.5985, allocations: 395.3 kB / 1.48 GB, free: 2.023 MB / 1.17 GB Notification: Performance of SimCode: time 1.152e-06/0.5985, allocations: 0 / 1.48 GB, free: 2.023 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05819/0.6567, allocations: 22.44 MB / 1.502 GB, free: 11.84 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.78, allocations: 4 kB / 1.502 GB, free: 11.84 MB / 1.201 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: 22.437140613037627]