Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001327/0.001327, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001416/0.001416, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 9.086 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.702/2.702, allocations: 476.7 MB / 0.7672 GB, free: 5.203 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.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002002/0.002002, allocations: 77.31 kB / 1.112 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 169.9 MB / 1.278 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006828/0.3297, allocations: 5.183 MB / 1.283 GB, free: 12 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.5019, allocations: 154 MB / 1.434 GB, free: 5.391 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.5032, allocations: 23.81 kB / 1.434 GB, free: 5.367 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.5042, allocations: 206 kB / 1.434 GB, free: 5.164 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.5064, allocations: 0.5736 MB / 1.435 GB, free: 4.59 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.5088, allocations: 0.863 MB / 1.435 GB, free: 3.734 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001985/0.5108, allocations: 1.447 MB / 1.437 GB, free: 2.281 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/0.5116, allocations: 433.7 kB / 1.437 GB, free: 1.832 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008548/0.5125, allocations: 0.5178 MB / 1.438 GB, free: 1.312 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000822/0.5133, allocations: 0.5173 MB / 1.438 GB, free: 0.793 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.5136, allocations: 120 kB / 1.438 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.5147, allocations: 0.5191 MB / 1.439 GB, free: 160 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.515, allocations: 307 kB / 1.439 GB, free: 15.86 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006761/0.5157, allocations: 0.5869 MB / 1.44 GB, free: 15.27 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.5181, allocations: 1.716 MB / 1.441 GB, free: 13.54 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5181, allocations: 4 kB / 1.441 GB, free: 13.54 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5181, allocations: 0 / 1.441 GB, free: 13.54 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.956e-05/0.5182, allocations: 0 / 1.441 GB, free: 13.54 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003293/0.5215, allocations: 1.526 MB / 1.443 GB, free: 11.96 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5215, allocations: 8.031 kB / 1.443 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.5217, allocations: 143.6 kB / 1.443 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.5233, allocations: 236 kB / 1.443 GB, free: 11.57 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.5249, allocations: 0.798 MB / 1.444 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/0.525, allocations: 66 kB / 1.444 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.5252, allocations: 91.98 kB / 1.444 GB, free: 10.58 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.527, allocations: 0.9301 MB / 1.445 GB, free: 9.609 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.5271, allocations: 3.938 kB / 1.445 GB, free: 9.605 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.5272, allocations: 40 kB / 1.445 GB, free: 9.566 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.5272, allocations: 20 kB / 1.445 GB, free: 9.547 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.5293, allocations: 1.124 MB / 1.446 GB, free: 8.422 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.004806/0.5341, allocations: 2.748 MB / 1.449 GB, free: 5.555 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.5357, allocations: 0.7579 MB / 1.45 GB, free: 4.793 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.5363, allocations: 290.7 kB / 1.45 GB, free: 4.504 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.5364, allocations: 36.55 kB / 1.45 GB, free: 4.469 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009592/0.5373, allocations: 0.4893 MB / 1.45 GB, free: 3.961 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.504e-06/0.5373, allocations: 0 / 1.45 GB, free: 3.961 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003563/0.5409, allocations: 1.214 MB / 1.452 GB, free: 2.723 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.541, allocations: 196.6 kB / 1.452 GB, free: 2.488 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.5421, allocations: 0.6607 MB / 1.452 GB, free: 1.816 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/0.5422, allocations: 49.64 kB / 1.452 GB, free: 1.762 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.5427, allocations: 421 kB / 1.453 GB, free: 1.344 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.5429, allocations: 281.6 kB / 1.453 GB, free: 1.066 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.5432, allocations: 154.6 kB / 1.453 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.5434, allocations: 390.8 kB / 1.454 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.544, allocations: 253.9 kB / 1.454 GB, free: 276 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.5447, allocations: 358.6 kB / 1.454 GB, free: 15.89 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.5458, allocations: 0.5916 MB / 1.455 GB, free: 15.29 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5458, allocations: 0 / 1.455 GB, free: 15.29 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002078/0.5479, allocations: 0.8295 MB / 1.456 GB, free: 14.45 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5479, allocations: 4 kB / 1.456 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5479, allocations: 0 / 1.456 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/0.5486, allocations: 88.86 kB / 1.456 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.5492, allocations: 151.8 kB / 1.456 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.5516, allocations: 1.634 MB / 1.457 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.5523, allocations: 91.58 kB / 1.458 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.5524, allocations: 31.98 kB / 1.458 GB, free: 12.31 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (89): * Single equations (assignments): 88 * 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.0004666/0.5529, allocations: 273.8 kB / 1.458 GB, free: 12.03 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.5531, allocations: 91.39 kB / 1.458 GB, free: 11.94 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.5556, allocations: 1.074 MB / 1.459 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5556, allocations: 8 kB / 1.459 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5556, allocations: 0 / 1.459 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5557, allocations: 7.969 kB / 1.459 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.5569, allocations: 0.9154 MB / 1.46 GB, free: 9.875 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5569, allocations: 0 / 1.46 GB, free: 9.875 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.5575, allocations: 147.8 kB / 1.46 GB, free: 9.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/0.558, allocations: 84.66 kB / 1.46 GB, free: 9.645 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.558, allocations: 27.98 kB / 1.46 GB, free: 9.617 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.5601, allocations: 1.666 MB / 1.462 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5601, allocations: 0 / 1.462 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.5631, allocations: 1.348 MB / 1.463 GB, free: 6.438 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.5636, allocations: 280.2 kB / 1.463 GB, free: 6.145 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.5637, allocations: 19.94 kB / 1.463 GB, free: 6.125 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.5644, allocations: 63.92 kB / 1.463 GB, free: 6.062 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.5646, allocations: 68.91 kB / 1.464 GB, free: 5.992 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/0.5647, allocations: 43.97 kB / 1.464 GB, free: 5.949 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007399/0.5654, allocations: 483 kB / 1.464 GB, free: 5.48 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5654, allocations: 0 / 1.464 GB, free: 5.48 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000931/0.5664, allocations: 335.1 kB / 1.464 GB, free: 5.152 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.005082/0.5714, allocations: 2.38 MB / 1.467 GB, free: 2.926 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.5732, allocations: 0.7843 MB / 1.467 GB, free: 2.125 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5732, allocations: 0 / 1.467 GB, free: 2.125 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.5742, allocations: 0.4887 MB / 1.468 GB, free: 1.629 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.5756, allocations: 317.9 kB / 1.468 GB, free: 1.344 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.5876, allocations: 6.443 MB / 1.474 GB, free: 10.74 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/0.5884, allocations: 1.039 MB / 1.476 GB, free: 9.672 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008511/0.5892, allocations: 270.9 kB / 1.476 GB, free: 9.402 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006249/0.5899, allocations: 411.2 kB / 1.476 GB, free: 9 MB / 1.186 GB Notification: Performance of SimCode: time 8.52e-07/0.5899, allocations: 0 / 1.476 GB, free: 9 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06799/0.6578, allocations: 22.32 MB / 1.498 GB, free: 2.938 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.08, allocations: 15.59 kB / 1.498 GB, free: 2.926 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 20.49058322701603]