Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001774/0.001774, 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.002422/0.002422, allocations: 213.4 kB / 22.25 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 8.004 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.705/2.705, allocations: 476.8 MB / 0.7707 GB, free: 4.277 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.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002019/0.002019, allocations: 68.48 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00753/0.3149, allocations: 5.342 MB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.4906, allocations: 154.2 MB / 1.439 GB, free: 11.61 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.4915, allocations: 27.81 kB / 1.439 GB, free: 11.58 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.4923, allocations: 206.1 kB / 1.439 GB, free: 11.38 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.4942, allocations: 0.5854 MB / 1.44 GB, free: 10.8 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.4964, allocations: 0.8892 MB / 1.441 GB, free: 9.91 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.4983, allocations: 1.482 MB / 1.442 GB, free: 8.422 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008191/0.4992, allocations: 434.8 kB / 1.443 GB, free: 7.973 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008247/0.5, allocations: 0.5295 MB / 1.443 GB, free: 7.441 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.5008, allocations: 0.5406 MB / 1.444 GB, free: 6.898 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.501, allocations: 124 kB / 1.444 GB, free: 6.777 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.5022, allocations: 0.5152 MB / 1.444 GB, free: 6.262 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.5025, allocations: 311 kB / 1.445 GB, free: 5.957 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006675/0.5032, allocations: 0.5947 MB / 1.445 GB, free: 5.359 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.5059, allocations: 1.747 MB / 1.447 GB, free: 3.605 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5059, allocations: 4 kB / 1.447 GB, free: 3.602 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5059, allocations: 0 / 1.447 GB, free: 3.602 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.5059, allocations: 3.938 kB / 1.447 GB, free: 3.598 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002926/0.5088, allocations: 1.482 MB / 1.448 GB, free: 2.082 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5089, allocations: 8.031 kB / 1.448 GB, free: 2.074 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.509, allocations: 143.7 kB / 1.449 GB, free: 1.926 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.5104, allocations: 239.9 kB / 1.449 GB, free: 1.691 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.5118, allocations: 0.7374 MB / 1.449 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.5119, allocations: 66 kB / 1.45 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.5121, allocations: 88 kB / 1.45 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.5137, allocations: 0.9574 MB / 1.451 GB, free: 15.78 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.5137, allocations: 7.938 kB / 1.451 GB, free: 15.77 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.5138, allocations: 40 kB / 1.451 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.5139, allocations: 20 kB / 1.451 GB, free: 15.71 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.5157, allocations: 1.136 MB / 1.452 GB, free: 14.57 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.004485/0.5202, allocations: 2.741 MB / 1.454 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.5218, allocations: 0.7972 MB / 1.455 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.5224, allocations: 297.9 kB / 1.455 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.5224, allocations: 34.73 kB / 1.456 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009083/0.5233, allocations: 0.5018 MB / 1.456 GB, free: 10.07 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 3.527e-06/0.5233, allocations: 4 kB / 1.456 GB, free: 10.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.003403/0.5267, allocations: 1.176 MB / 1.457 GB, free: 8.883 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.5269, allocations: 192.9 kB / 1.457 GB, free: 8.652 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5279, allocations: 0.6802 MB / 1.458 GB, free: 7.961 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.583e-05/0.528, allocations: 41.7 kB / 1.458 GB, free: 7.914 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.5284, allocations: 425.1 kB / 1.458 GB, free: 7.492 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.5287, allocations: 289.6 kB / 1.459 GB, free: 7.207 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.5289, allocations: 150.6 kB / 1.459 GB, free: 7.051 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.5291, allocations: 386.8 kB / 1.459 GB, free: 6.664 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.5296, allocations: 265.9 kB / 1.459 GB, free: 6.406 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.5302, allocations: 366.5 kB / 1.46 GB, free: 6.023 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5314, allocations: 0.6125 MB / 1.46 GB, free: 5.398 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5314, allocations: 0 / 1.46 GB, free: 5.398 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002014/0.5334, allocations: 0.8374 MB / 1.461 GB, free: 4.551 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5334, allocations: 8 kB / 1.461 GB, free: 4.543 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.5334, allocations: 0 / 1.461 GB, free: 4.543 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.534, allocations: 84.86 kB / 1.461 GB, free: 4.457 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.5347, allocations: 167.7 kB / 1.462 GB, free: 4.293 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.537, allocations: 1.535 MB / 1.463 GB, free: 2.633 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007531/0.5378, allocations: 91.53 kB / 1.463 GB, free: 2.543 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.5378, allocations: 35.97 kB / 1.463 GB, free: 2.508 MB / 1.154 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 (92): * Single equations (assignments): 91 * 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.0004795/0.5383, allocations: 268.1 kB / 1.463 GB, free: 2.238 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.5385, allocations: 91.5 kB / 1.463 GB, free: 2.148 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.541, allocations: 1.105 MB / 1.465 GB, free: 1.035 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.541, allocations: 8 kB / 1.465 GB, free: 1.027 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.541, allocations: 0 / 1.465 GB, free: 1.027 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.541, allocations: 7.969 kB / 1.465 GB, free: 1.02 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.5421, allocations: 0.9145 MB / 1.465 GB, free: 60 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5422, allocations: 3.938 kB / 1.465 GB, free: 56 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006663/0.5428, allocations: 163.7 kB / 1.466 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.5433, allocations: 76.77 kB / 1.466 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/0.5433, allocations: 27.97 kB / 1.466 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.5453, allocations: 1.551 MB / 1.467 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5453, allocations: 4.062 kB / 1.467 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.5481, allocations: 1.375 MB / 1.469 GB, free: 12.72 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.5486, allocations: 215 kB / 1.469 GB, free: 12.51 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.5488, allocations: 20 kB / 1.469 GB, free: 12.49 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/0.5494, allocations: 63.92 kB / 1.469 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.5495, allocations: 76.92 kB / 1.469 GB, free: 12.35 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.5496, allocations: 35.98 kB / 1.469 GB, free: 12.32 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006675/0.5503, allocations: 499 kB / 1.469 GB, free: 11.83 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5503, allocations: 0 / 1.469 GB, free: 11.83 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008898/0.5512, allocations: 331.1 kB / 1.47 GB, free: 11.51 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 (96): * Single equations (assignments): 90 * 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.004885/0.556, allocations: 2.434 MB / 1.472 GB, free: 9.227 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.5578, allocations: 0.7922 MB / 1.473 GB, free: 8.418 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5578, allocations: 8.188 kB / 1.473 GB, free: 8.41 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/0.5587, allocations: 0.5002 MB / 1.473 GB, free: 7.898 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.56, allocations: 300.4 kB / 1.474 GB, free: 7.625 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.5715, allocations: 6.612 MB / 1.48 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.5723, allocations: 1.043 MB / 1.481 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008896/0.5731, allocations: 271 kB / 1.481 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006126/0.5738, allocations: 407.3 kB / 1.482 GB, free: 15.12 MB / 1.186 GB Notification: Performance of SimCode: time 1.553e-06/0.5738, allocations: 0 / 1.482 GB, free: 15.12 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09785/0.6716, allocations: 23.27 MB / 1.505 GB, free: 8.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.1, allocations: 17.58 kB / 1.505 GB, free: 8.078 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_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_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.79375838800115]