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.001228/0.001228, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00139/0.00139, allocations: 215.5 kB / 22.25 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 8 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.06/3.06, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.001957/0.001957, allocations: 66.11 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.324, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007809/0.3319, allocations: 5.225 MB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1757/0.5075, allocations: 154.2 MB / 1.482 GB, free: 1.965 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000921/0.5084, allocations: 23.81 kB / 1.482 GB, free: 1.941 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.5093, allocations: 206.1 kB / 1.482 GB, free: 1.738 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.5114, allocations: 0.5748 MB / 1.482 GB, free: 1.164 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.5135, allocations: 0.8789 MB / 1.483 GB, free: 296 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.5154, allocations: 1.451 MB / 1.485 GB, free: 14.83 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.5162, allocations: 427 kB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007758/0.5169, allocations: 0.5139 MB / 1.486 GB, free: 13.88 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.5177, allocations: 0.5251 MB / 1.486 GB, free: 13.35 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.5178, allocations: 120 kB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.5189, allocations: 0.5152 MB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.5192, allocations: 311 kB / 1.487 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.5198, allocations: 0.5791 MB / 1.487 GB, free: 11.83 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.5221, allocations: 1.724 MB / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5221, allocations: 0 / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5221, allocations: 0 / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.159e-05/0.5222, allocations: 0 / 1.489 GB, free: 10.1 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.002895/0.5251, allocations: 1.455 MB / 1.491 GB, free: 8.609 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5251, allocations: 8.031 kB / 1.491 GB, free: 8.602 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.5253, allocations: 139.6 kB / 1.491 GB, free: 8.457 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.5267, allocations: 239.9 kB / 1.491 GB, free: 8.223 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.5282, allocations: 0.7258 MB / 1.492 GB, free: 7.465 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/0.5282, allocations: 69.92 kB / 1.492 GB, free: 7.395 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5283, allocations: 84 kB / 1.492 GB, free: 7.312 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.53, allocations: 0.9417 MB / 1.493 GB, free: 6.332 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.53, allocations: 3.938 kB / 1.493 GB, free: 6.328 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/0.5301, allocations: 40 kB / 1.493 GB, free: 6.289 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.5301, allocations: 20 kB / 1.493 GB, free: 6.27 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.5319, allocations: 1.116 MB / 1.494 GB, free: 5.148 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.004651/0.5366, allocations: 2.781 MB / 1.497 GB, free: 2.234 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.5381, allocations: 0.7716 MB / 1.497 GB, free: 1.457 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.5387, allocations: 282.7 kB / 1.498 GB, free: 1.18 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/0.5388, allocations: 32.61 kB / 1.498 GB, free: 1.148 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009058/0.5397, allocations: 493.1 kB / 1.498 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.5397, allocations: 0 / 1.498 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003368/0.543, allocations: 1.142 MB / 1.499 GB, free: 15.5 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.5432, allocations: 192.6 kB / 1.499 GB, free: 15.27 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5442, allocations: 0.6723 MB / 1.5 GB, free: 14.59 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5443, allocations: 41.7 kB / 1.5 GB, free: 14.54 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.5447, allocations: 421 kB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.545, allocations: 277.6 kB / 1.501 GB, free: 13.85 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.5452, allocations: 154.6 kB / 1.501 GB, free: 13.69 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.5454, allocations: 382.8 kB / 1.501 GB, free: 13.31 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.5459, allocations: 257.9 kB / 1.502 GB, free: 13.05 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.5466, allocations: 362.5 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.5477, allocations: 0.5877 MB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5477, allocations: 4 kB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002037/0.5497, allocations: 0.814 MB / 1.503 GB, free: 11.25 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5498, allocations: 8 kB / 1.503 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5498, allocations: 3.984 kB / 1.503 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.5504, allocations: 88.8 kB / 1.503 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.5511, allocations: 163.8 kB / 1.504 GB, free: 10.99 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.5533, allocations: 1.52 MB / 1.505 GB, free: 9.348 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007583/0.554, allocations: 93.39 kB / 1.505 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.5541, allocations: 31.97 kB / 1.505 GB, free: 9.227 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.0004832/0.5546, allocations: 262.4 kB / 1.505 GB, free: 8.961 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.5548, allocations: 99.31 kB / 1.505 GB, free: 8.863 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.5572, allocations: 1.078 MB / 1.507 GB, free: 7.773 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.5572, allocations: 8 kB / 1.507 GB, free: 7.766 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5572, allocations: 0 / 1.507 GB, free: 7.766 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5572, allocations: 3.984 kB / 1.507 GB, free: 7.762 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5584, allocations: 0.8949 MB / 1.507 GB, free: 6.824 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5584, allocations: 7.938 kB / 1.507 GB, free: 6.816 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.5591, allocations: 151.7 kB / 1.508 GB, free: 6.668 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.5595, allocations: 76.72 kB / 1.508 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.5596, allocations: 31.97 kB / 1.508 GB, free: 6.559 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.5616, allocations: 1.547 MB / 1.509 GB, free: 4.891 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5616, allocations: 3.984 kB / 1.509 GB, free: 4.887 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.5644, allocations: 1.348 MB / 1.511 GB, free: 3.52 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.5649, allocations: 211 kB / 1.511 GB, free: 3.312 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.5651, allocations: 23.94 kB / 1.511 GB, free: 3.289 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.5657, allocations: 59.92 kB / 1.511 GB, free: 3.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5658, allocations: 72.86 kB / 1.511 GB, free: 3.156 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/0.5659, allocations: 44.03 kB / 1.511 GB, free: 3.113 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006469/0.5666, allocations: 483 kB / 1.511 GB, free: 2.645 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5666, allocations: 0 / 1.511 GB, free: 2.645 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008913/0.5674, allocations: 331.1 kB / 1.512 GB, free: 2.32 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.004854/0.5723, allocations: 2.384 MB / 1.514 GB, free: 92 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.574, allocations: 0.7844 MB / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.574, allocations: 0 / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.575, allocations: 0.4964 MB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.5762, allocations: 321.4 kB / 1.516 GB, free: 14.49 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.5869, allocations: 6.44 MB / 1.522 GB, free: 7.898 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.5876, allocations: 1.039 MB / 1.523 GB, free: 6.828 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000837/0.5884, allocations: 278.8 kB / 1.523 GB, free: 6.551 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.589, allocations: 407.3 kB / 1.524 GB, free: 6.152 MB / 1.217 GB Notification: Performance of SimCode: time 8.02e-07/0.589, allocations: 3.938 kB / 1.524 GB, free: 6.148 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06538/0.6544, allocations: 22.89 MB / 1.546 GB, free: 15.48 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.36, allocations: 13.59 kB / 1.546 GB, free: 15.47 MB / 1.248 GB " [Timeout remaining time 284] (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.986069642000075]