Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001325/0.001325, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.001566/0.001566, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.161/3.161, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_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.001959/0.001959, allocations: 64.86 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3094, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007287/0.3167, allocations: 5.182 MB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1732/0.4899, allocations: 154 MB / 1.476 GB, free: 3.535 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.491, allocations: 23.81 kB / 1.476 GB, free: 3.512 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.4918, allocations: 202.1 kB / 1.476 GB, free: 3.312 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.494, allocations: 0.5743 MB / 1.477 GB, free: 2.738 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.4964, allocations: 0.8723 MB / 1.478 GB, free: 1.875 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.4984, allocations: 1.447 MB / 1.479 GB, free: 432 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009456/0.4993, allocations: 433.7 kB / 1.48 GB, free: 15.97 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009076/0.5003, allocations: 0.5099 MB / 1.48 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008036/0.5011, allocations: 0.5212 MB / 1.481 GB, free: 14.94 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.5013, allocations: 124 kB / 1.481 GB, free: 14.82 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5024, allocations: 0.5112 MB / 1.481 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.5028, allocations: 307 kB / 1.482 GB, free: 14 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006942/0.5035, allocations: 0.583 MB / 1.482 GB, free: 13.42 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.5062, allocations: 1.72 MB / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5062, allocations: 0 / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5062, allocations: 0 / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.051e-05/0.5063, allocations: 0 / 1.484 GB, free: 11.69 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003287/0.5096, allocations: 1.539 MB / 1.485 GB, free: 10.11 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5096, allocations: 11.98 kB / 1.485 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.5098, allocations: 139.6 kB / 1.486 GB, free: 9.949 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.5114, allocations: 236 kB / 1.486 GB, free: 9.719 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.5127, allocations: 0.7941 MB / 1.487 GB, free: 8.883 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.5128, allocations: 62 kB / 1.487 GB, free: 8.82 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.5129, allocations: 80 kB / 1.487 GB, free: 8.742 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.5146, allocations: 0.9379 MB / 1.488 GB, free: 7.766 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.5147, allocations: 0 / 1.488 GB, free: 7.766 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.103e-05/0.5147, allocations: 40 kB / 1.488 GB, free: 7.727 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.5148, allocations: 20 kB / 1.488 GB, free: 7.707 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.5167, allocations: 1.128 MB / 1.489 GB, free: 6.574 MB / 1.186 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.00457/0.5213, allocations: 2.831 MB / 1.492 GB, free: 3.605 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.5229, allocations: 0.7613 MB / 1.492 GB, free: 2.84 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.5234, allocations: 282.7 kB / 1.493 GB, free: 2.559 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.678e-05/0.5235, allocations: 32.61 kB / 1.493 GB, free: 2.527 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009237/0.5245, allocations: 0.4893 MB / 1.493 GB, free: 2.02 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.425e-06/0.5245, allocations: 3.938 kB / 1.493 GB, free: 2.016 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.00345/0.5279, allocations: 1.214 MB / 1.494 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.528, allocations: 192.6 kB / 1.494 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.529, allocations: 0.6646 MB / 1.495 GB, free: 15.88 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/0.5291, allocations: 41.7 kB / 1.495 GB, free: 15.83 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.5295, allocations: 421 kB / 1.496 GB, free: 15.41 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.5298, allocations: 281.6 kB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.53, allocations: 158.5 kB / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.5302, allocations: 394.7 kB / 1.496 GB, free: 14.57 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.5307, allocations: 249.9 kB / 1.497 GB, free: 14.33 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.5314, allocations: 362.6 kB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.5326, allocations: 0.5877 MB / 1.497 GB, free: 13.35 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5326, allocations: 64 / 1.497 GB, free: 13.35 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002045/0.5346, allocations: 0.8296 MB / 1.498 GB, free: 12.51 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5346, allocations: 9.875 kB / 1.498 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5346, allocations: 0 / 1.498 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.5353, allocations: 80.77 kB / 1.498 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.5359, allocations: 159.8 kB / 1.499 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.5382, allocations: 1.63 MB / 1.5 GB, free: 10.49 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.539, allocations: 91.41 kB / 1.5 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/0.5391, allocations: 27.98 kB / 1.5 GB, free: 10.37 MB / 1.201 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.0005007/0.5396, allocations: 276.5 kB / 1.5 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.5398, allocations: 91.5 kB / 1.501 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.5424, allocations: 1.074 MB / 1.502 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5424, allocations: 8 kB / 1.502 GB, free: 8.91 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5424, allocations: 0 / 1.502 GB, free: 8.91 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5424, allocations: 3.984 kB / 1.502 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.5436, allocations: 0.927 MB / 1.503 GB, free: 7.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5436, allocations: 4 kB / 1.503 GB, free: 7.926 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.5443, allocations: 147.8 kB / 1.503 GB, free: 7.781 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/0.5447, allocations: 80.72 kB / 1.503 GB, free: 7.699 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/0.5448, allocations: 23.98 kB / 1.503 GB, free: 7.676 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.5468, allocations: 1.662 MB / 1.504 GB, free: 5.867 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5468, allocations: 0 / 1.504 GB, free: 5.867 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.5496, allocations: 1.344 MB / 1.506 GB, free: 4.5 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.5501, allocations: 276.2 kB / 1.506 GB, free: 4.211 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5502, allocations: 27.88 kB / 1.506 GB, free: 4.184 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/0.5509, allocations: 64 kB / 1.506 GB, free: 4.121 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.5511, allocations: 68.89 kB / 1.506 GB, free: 4.055 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.5511, allocations: 35.98 kB / 1.506 GB, free: 4.02 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000668/0.5518, allocations: 487 kB / 1.507 GB, free: 3.547 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5518, allocations: 3.938 kB / 1.507 GB, free: 3.543 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008706/0.5527, allocations: 335.1 kB / 1.507 GB, free: 3.215 MB / 1.201 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.004946/0.5576, allocations: 2.392 MB / 1.509 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.5594, allocations: 0.7807 MB / 1.51 GB, free: 184 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5594, allocations: 0 / 1.51 GB, free: 184 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.5604, allocations: 496.3 kB / 1.511 GB, free: 15.68 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5618, allocations: 309 kB / 1.511 GB, free: 15.4 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.5736, allocations: 6.454 MB / 1.517 GB, free: 8.797 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/0.5745, allocations: 1.039 MB / 1.518 GB, free: 7.727 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009126/0.5754, allocations: 274.8 kB / 1.518 GB, free: 7.453 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006494/0.576, allocations: 403.3 kB / 1.519 GB, free: 7.059 MB / 1.217 GB Notification: Performance of SimCode: time 7.22e-07/0.576, allocations: 0 / 1.519 GB, free: 7.059 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06592/0.6419, allocations: 22.31 MB / 1.541 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.6, allocations: 12 kB / 1.541 GB, free: 0.9688 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.412174402037635]