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.001751/0.001751, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002185/0.002185, allocations: 217.9 kB / 22.26 MB, free: 5.121 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.992 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.738/2.738, allocations: 476.8 MB / 0.7707 GB, free: 4.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.002008/0.002008, allocations: 66.36 kB / 1.117 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2755, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007272/0.2828, allocations: 5.029 MB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.4655, allocations: 154.1 MB / 1.439 GB, free: 11.89 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008062/0.4663, allocations: 23.81 kB / 1.439 GB, free: 11.86 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.467, allocations: 198.1 kB / 1.439 GB, free: 11.67 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.4687, allocations: 0.5596 MB / 1.44 GB, free: 11.11 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.4708, allocations: 0.8777 MB / 1.44 GB, free: 10.24 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.4725, allocations: 1.405 MB / 1.442 GB, free: 8.828 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007206/0.4732, allocations: 409.9 kB / 1.442 GB, free: 8.402 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.4739, allocations: 0.4984 MB / 1.443 GB, free: 7.902 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.4746, allocations: 0.5056 MB / 1.443 GB, free: 7.395 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.4747, allocations: 119.9 kB / 1.443 GB, free: 7.277 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009951/0.4757, allocations: 0.5074 MB / 1.444 GB, free: 6.77 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.476, allocations: 299.1 kB / 1.444 GB, free: 6.477 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.4765, allocations: 0.5557 MB / 1.445 GB, free: 5.918 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.4786, allocations: 1.677 MB / 1.446 GB, free: 4.234 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4786, allocations: 0 / 1.446 GB, free: 4.234 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4786, allocations: 4 kB / 1.446 GB, free: 4.23 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.4787, allocations: 0 / 1.446 GB, free: 4.23 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.00259/0.4812, allocations: 1.419 MB / 1.448 GB, free: 2.773 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4813, allocations: 8.031 kB / 1.448 GB, free: 2.766 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.4814, allocations: 135.3 kB / 1.448 GB, free: 2.625 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.4828, allocations: 228 kB / 1.448 GB, free: 2.402 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4841, allocations: 0.718 MB / 1.449 GB, free: 1.656 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.4841, allocations: 58 kB / 1.449 GB, free: 1.598 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4842, allocations: 80 kB / 1.449 GB, free: 1.52 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.4858, allocations: 0.9192 MB / 1.45 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.4858, allocations: 0 / 1.45 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.4859, allocations: 36 kB / 1.45 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.4859, allocations: 20 kB / 1.45 GB, free: 0.5039 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.4876, allocations: 1.096 MB / 1.451 GB, free: 15.41 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.004159/0.4918, allocations: 2.702 MB / 1.453 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.4932, allocations: 0.7415 MB / 1.454 GB, free: 11.84 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.4937, allocations: 270.7 kB / 1.454 GB, free: 11.57 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.407e-05/0.4938, allocations: 28.61 kB / 1.454 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008391/0.4946, allocations: 496.6 kB / 1.455 GB, free: 11.04 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.144e-06/0.4946, allocations: 0 / 1.455 GB, free: 11.04 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003206/0.4978, allocations: 1.107 MB / 1.456 GB, free: 9.922 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.498, allocations: 192.6 kB / 1.456 GB, free: 9.691 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/0.4989, allocations: 0.6606 MB / 1.457 GB, free: 9.02 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/0.4989, allocations: 45.7 kB / 1.457 GB, free: 8.969 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.4993, allocations: 405 kB / 1.457 GB, free: 8.566 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.4995, allocations: 269.7 kB / 1.458 GB, free: 8.301 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.4997, allocations: 142.6 kB / 1.458 GB, free: 8.156 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.4999, allocations: 398.7 kB / 1.458 GB, free: 7.758 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.5004, allocations: 237.9 kB / 1.458 GB, free: 7.527 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.501, allocations: 359.4 kB / 1.459 GB, free: 7.145 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5021, allocations: 0.5807 MB / 1.459 GB, free: 6.551 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5021, allocations: 0 / 1.459 GB, free: 6.551 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001901/0.504, allocations: 0.7984 MB / 1.46 GB, free: 5.742 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.504, allocations: 10.28 kB / 1.46 GB, free: 5.734 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.504, allocations: 0 / 1.46 GB, free: 5.734 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.5047, allocations: 92.77 kB / 1.46 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.5053, allocations: 147.8 kB / 1.46 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.5074, allocations: 1.527 MB / 1.462 GB, free: 3.852 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.5081, allocations: 87.59 kB / 1.462 GB, free: 3.766 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.5082, allocations: 39.97 kB / 1.462 GB, free: 3.727 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.0004649/0.5086, allocations: 265.5 kB / 1.462 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.5088, allocations: 87.44 kB / 1.462 GB, free: 3.371 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.5111, allocations: 1.046 MB / 1.463 GB, free: 2.309 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5111, allocations: 12 kB / 1.463 GB, free: 2.297 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5111, allocations: 3.938 kB / 1.463 GB, free: 2.293 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.5112, allocations: 3.984 kB / 1.463 GB, free: 2.289 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.5123, allocations: 0.8715 MB / 1.464 GB, free: 1.375 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.5123, allocations: 4 kB / 1.464 GB, free: 1.371 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.5129, allocations: 143.8 kB / 1.464 GB, free: 1.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.5133, allocations: 76.72 kB / 1.464 GB, free: 1.152 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.5134, allocations: 19.98 kB / 1.464 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.5154, allocations: 1.559 MB / 1.466 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5154, allocations: 7.922 kB / 1.466 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.5175, allocations: 0.9166 MB / 1.467 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.5179, allocations: 203.1 kB / 1.467 GB, free: 14.31 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.518, allocations: 19.94 kB / 1.467 GB, free: 14.29 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005883/0.5186, allocations: 59.94 kB / 1.467 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.5188, allocations: 76.8 kB / 1.467 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.5188, allocations: 35.97 kB / 1.467 GB, free: 14.12 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006356/0.5195, allocations: 475 kB / 1.468 GB, free: 13.66 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5195, allocations: 4 kB / 1.468 GB, free: 13.66 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008419/0.5203, allocations: 327.1 kB / 1.468 GB, free: 13.34 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.004156/0.5245, allocations: 1.96 MB / 1.47 GB, free: 11.53 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.5262, allocations: 0.7686 MB / 1.471 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5262, allocations: 0 / 1.471 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009092/0.5271, allocations: 492.5 kB / 1.471 GB, free: 10.26 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.5283, allocations: 299.4 kB / 1.471 GB, free: 9.988 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.5389, allocations: 6.236 MB / 1.477 GB, free: 3.582 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.5395, allocations: 1.027 MB / 1.478 GB, free: 2.527 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000822/0.5403, allocations: 274.6 kB / 1.479 GB, free: 2.254 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005731/0.5409, allocations: 399.3 kB / 1.479 GB, free: 1.863 MB / 1.17 GB Notification: Performance of SimCode: time 7.91e-07/0.5409, allocations: 0 / 1.479 GB, free: 1.863 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0651/0.606, allocations: 22.41 MB / 1.501 GB, free: 11.69 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.6, allocations: 15.02 kB / 1.501 GB, free: 11.68 MB / 1.201 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_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_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/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: 21.22531891000108]