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.001605/0.001605, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001951/0.001951, allocations: 213.4 kB / 22.25 MB, free: 4.855 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.805 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.691/2.691, allocations: 476 MB / 0.7699 GB, free: 4.773 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.002165/0.002165, allocations: 70.73 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.295, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007373/0.3024, allocations: 4.681 MB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.463, allocations: 132.7 MB / 1.417 GB, free: 2.598 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009874/0.464, allocations: 27.81 kB / 1.417 GB, free: 2.57 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007899/0.4647, allocations: 206.1 kB / 1.417 GB, free: 2.367 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.467, allocations: 0.5764 MB / 1.417 GB, free: 1.793 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.4694, allocations: 0.8633 MB / 1.418 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.4713, allocations: 1.455 MB / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008726/0.4722, allocations: 398.2 kB / 1.42 GB, free: 15.06 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009037/0.4731, allocations: 0.5217 MB / 1.421 GB, free: 14.54 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007079/0.4738, allocations: 477.7 kB / 1.421 GB, free: 14.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.474, allocations: 123.9 kB / 1.421 GB, free: 13.95 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.4751, allocations: 499.6 kB / 1.422 GB, free: 13.46 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000352/0.4755, allocations: 311 kB / 1.422 GB, free: 13.15 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.476, allocations: 477.7 kB / 1.422 GB, free: 12.68 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.4784, allocations: 1.728 MB / 1.424 GB, free: 10.95 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4784, allocations: 4 kB / 1.424 GB, free: 10.95 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4784, allocations: 0 / 1.424 GB, free: 10.95 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.993e-05/0.4784, allocations: 0 / 1.424 GB, free: 10.95 MB / 1.123 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.002901/0.4813, allocations: 1.451 MB / 1.426 GB, free: 9.461 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4814, allocations: 12.03 kB / 1.426 GB, free: 9.449 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.4816, allocations: 139.6 kB / 1.426 GB, free: 9.305 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.4831, allocations: 236 kB / 1.426 GB, free: 9.074 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.4847, allocations: 0.7336 MB / 1.427 GB, free: 8.312 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/0.4847, allocations: 62 kB / 1.427 GB, free: 8.25 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.4849, allocations: 87.98 kB / 1.427 GB, free: 8.164 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.4867, allocations: 1.189 MB / 1.428 GB, free: 6.875 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.4867, allocations: 0 / 1.428 GB, free: 6.875 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.521e-05/0.4868, allocations: 44 kB / 1.428 GB, free: 6.832 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.4868, allocations: 20 kB / 1.428 GB, free: 6.812 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.4887, allocations: 1.077 MB / 1.429 GB, free: 5.734 MB / 1.123 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.004436/0.4932, allocations: 2.265 MB / 1.431 GB, free: 3.406 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.4947, allocations: 0.7584 MB / 1.432 GB, free: 2.637 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.4953, allocations: 282.6 kB / 1.432 GB, free: 2.355 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.523e-05/0.4953, allocations: 24.62 kB / 1.432 GB, free: 2.332 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009794/0.4963, allocations: 0.5936 MB / 1.433 GB, free: 1.699 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.915e-06/0.4963, allocations: 0 / 1.433 GB, free: 1.699 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003351/0.4997, allocations: 1.146 MB / 1.434 GB, free: 0.543 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.4998, allocations: 192.6 kB / 1.434 GB, free: 320 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/0.5008, allocations: 0.6684 MB / 1.435 GB, free: 15.63 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.5009, allocations: 41.7 kB / 1.435 GB, free: 15.59 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.5013, allocations: 421 kB / 1.435 GB, free: 15.17 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.5016, allocations: 277.7 kB / 1.436 GB, free: 14.89 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.5018, allocations: 150.6 kB / 1.436 GB, free: 14.74 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.502, allocations: 394.7 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.5025, allocations: 241.9 kB / 1.436 GB, free: 14.11 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.5033, allocations: 495.1 kB / 1.437 GB, free: 13.57 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.5044, allocations: 0.5916 MB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5044, allocations: 4 kB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002024/0.5064, allocations: 0.8217 MB / 1.438 GB, free: 12.13 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5064, allocations: 8 kB / 1.438 GB, free: 12.12 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5065, allocations: 0 / 1.438 GB, free: 12.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.5071, allocations: 88.84 kB / 1.438 GB, free: 12.03 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.5077, allocations: 155.8 kB / 1.438 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.5099, allocations: 1.515 MB / 1.44 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008652/0.5108, allocations: 91.48 kB / 1.44 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5109, allocations: 36.03 kB / 1.44 GB, free: 10.12 MB / 1.139 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.0005072/0.5114, allocations: 265.8 kB / 1.44 GB, free: 9.848 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.5116, allocations: 99.44 kB / 1.44 GB, free: 9.75 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.5141, allocations: 1.07 MB / 1.441 GB, free: 8.668 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.5141, allocations: 12 kB / 1.441 GB, free: 8.656 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5141, allocations: 4 kB / 1.441 GB, free: 8.652 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.5141, allocations: 3.984 kB / 1.441 GB, free: 8.648 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.5152, allocations: 0.7663 MB / 1.442 GB, free: 7.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5152, allocations: 0 / 1.442 GB, free: 7.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.5159, allocations: 151.7 kB / 1.442 GB, free: 7.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.5163, allocations: 80.72 kB / 1.442 GB, free: 7.609 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/0.5164, allocations: 27.97 kB / 1.442 GB, free: 7.582 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.5183, allocations: 1.551 MB / 1.444 GB, free: 5.906 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5183, allocations: 0 / 1.444 GB, free: 5.906 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.5212, allocations: 1.344 MB / 1.445 GB, free: 4.543 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005238/0.5217, allocations: 207 kB / 1.445 GB, free: 4.34 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5218, allocations: 19.94 kB / 1.445 GB, free: 4.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/0.5225, allocations: 69.7 kB / 1.446 GB, free: 4.254 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5226, allocations: 76.86 kB / 1.446 GB, free: 4.18 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/0.5227, allocations: 31.98 kB / 1.446 GB, free: 4.148 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006601/0.5234, allocations: 487 kB / 1.446 GB, free: 3.676 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5234, allocations: 4 kB / 1.446 GB, free: 3.672 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009016/0.5243, allocations: 331.1 kB / 1.446 GB, free: 3.348 MB / 1.139 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.005068/0.5294, allocations: 2.432 MB / 1.449 GB, free: 1.102 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.5312, allocations: 0.7765 MB / 1.45 GB, free: 316 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5312, allocations: 0 / 1.45 GB, free: 316 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5322, allocations: 0.4926 MB / 1.45 GB, free: 15.8 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.5335, allocations: 304.6 kB / 1.45 GB, free: 15.53 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.5453, allocations: 6.445 MB / 1.457 GB, free: 8.93 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.5458, allocations: 460.6 kB / 1.457 GB, free: 8.449 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009313/0.5467, allocations: 274.8 kB / 1.457 GB, free: 8.176 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/0.5473, allocations: 411.3 kB / 1.458 GB, free: 7.773 MB / 1.154 GB Notification: Performance of SimCode: time 7.61e-07/0.5473, allocations: 0 / 1.458 GB, free: 7.773 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06794/0.6153, allocations: 23.89 MB / 1.481 GB, free: 212 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.68, allocations: 0 / 1.481 GB, free: 212 kB / 1.17 GB " [Timeout remaining time 285] (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: 21.315133448224515]