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.001555/0.001555, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00195/0.00195, allocations: 219 kB / 23.03 MB, free: 4.922 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.731/2.731, allocations: 476.8 MB / 0.7715 GB, free: 3.824 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",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.001992/0.001992, allocations: 63.52 kB / 1.118 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.276, allocations: 170 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006966/0.283, allocations: 4.767 MB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1546/0.4376, allocations: 132.6 MB / 1.418 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.4384, allocations: 23.81 kB / 1.418 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.439, allocations: 218 kB / 1.419 GB, free: 456 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.4408, allocations: 0.5954 MB / 1.419 GB, free: 15.85 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.4428, allocations: 0.8638 MB / 1.42 GB, free: 14.99 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.4447, allocations: 1.478 MB / 1.421 GB, free: 13.51 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.4455, allocations: 438.8 kB / 1.422 GB, free: 13.05 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008447/0.4463, allocations: 0.5295 MB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.447, allocations: 0.5406 MB / 1.423 GB, free: 11.98 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.4473, allocations: 124 kB / 1.423 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.4484, allocations: 0.4957 MB / 1.423 GB, free: 11.36 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.4487, allocations: 322.9 kB / 1.424 GB, free: 11.05 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005403/0.4492, allocations: 493.6 kB / 1.424 GB, free: 10.56 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.4517, allocations: 1.747 MB / 1.426 GB, free: 8.809 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4517, allocations: 4 kB / 1.426 GB, free: 8.805 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4517, allocations: 0 / 1.426 GB, free: 8.805 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.259e-05/0.4518, allocations: 0 / 1.426 GB, free: 8.805 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002791/0.4546, allocations: 1.488 MB / 1.427 GB, free: 7.285 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4546, allocations: 12.03 kB / 1.427 GB, free: 7.273 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.196e-05/0.4546, allocations: 22.19 kB / 1.427 GB, free: 7.25 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/0.4548, allocations: 143.7 kB / 1.428 GB, free: 7.102 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.4563, allocations: 239.9 kB / 1.428 GB, free: 6.867 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.4575, allocations: 0.7295 MB / 1.428 GB, free: 6.109 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.4576, allocations: 66 kB / 1.429 GB, free: 6.047 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.4577, allocations: 88 kB / 1.429 GB, free: 5.961 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.4596, allocations: 1.208 MB / 1.43 GB, free: 4.648 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.4596, allocations: 0 / 1.43 GB, free: 4.648 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.4597, allocations: 40 kB / 1.43 GB, free: 4.609 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.4597, allocations: 24 kB / 1.43 GB, free: 4.586 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.4616, allocations: 1.139 MB / 1.431 GB, free: 3.445 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.004002/0.4656, allocations: 2.302 MB / 1.433 GB, free: 1.074 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.4671, allocations: 0.7907 MB / 1.434 GB, free: 276 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.4676, allocations: 296.9 kB / 1.434 GB, free: 15.98 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.4677, allocations: 28.62 kB / 1.434 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009439/0.4687, allocations: 0.6046 MB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.615e-06/0.4687, allocations: 0 / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.00328/0.4719, allocations: 1.176 MB / 1.436 GB, free: 14.12 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.4721, allocations: 192.9 kB / 1.436 GB, free: 13.89 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008889/0.4729, allocations: 0.6763 MB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.473, allocations: 41.7 kB / 1.437 GB, free: 13.16 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.4734, allocations: 433 kB / 1.437 GB, free: 12.73 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.4737, allocations: 285.6 kB / 1.438 GB, free: 12.45 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.4739, allocations: 154.6 kB / 1.438 GB, free: 12.29 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4741, allocations: 390.8 kB / 1.438 GB, free: 11.9 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.4746, allocations: 257.9 kB / 1.438 GB, free: 11.65 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/0.4753, allocations: 0.4912 MB / 1.439 GB, free: 11.11 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.4764, allocations: 0.6124 MB / 1.439 GB, free: 10.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4764, allocations: 4 kB / 1.439 GB, free: 10.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001969/0.4784, allocations: 0.8374 MB / 1.44 GB, free: 9.633 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4784, allocations: 8.094 kB / 1.44 GB, free: 9.625 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4784, allocations: 7.984 kB / 1.44 GB, free: 9.617 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.479, allocations: 76.72 kB / 1.44 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.4797, allocations: 171.8 kB / 1.441 GB, free: 9.371 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.4819, allocations: 1.523 MB / 1.442 GB, free: 7.723 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008507/0.4827, allocations: 95.98 kB / 1.442 GB, free: 7.633 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.4828, allocations: 31.98 kB / 1.442 GB, free: 7.602 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 (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.0005413/0.4834, allocations: 273.7 kB / 1.442 GB, free: 7.324 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.4836, allocations: 91.44 kB / 1.443 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.4861, allocations: 1.094 MB / 1.444 GB, free: 6.121 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4862, allocations: 15.98 kB / 1.444 GB, free: 6.105 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.4862, allocations: 0 / 1.444 GB, free: 6.105 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4862, allocations: 3.984 kB / 1.444 GB, free: 6.102 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.4873, allocations: 0.7859 MB / 1.444 GB, free: 5.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.4873, allocations: 0 / 1.444 GB, free: 5.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.488, allocations: 155.8 kB / 1.445 GB, free: 5.117 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/0.4884, allocations: 72.8 kB / 1.445 GB, free: 5.043 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.4885, allocations: 31.97 kB / 1.445 GB, free: 5.012 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.4905, allocations: 1.543 MB / 1.446 GB, free: 3.352 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.4905, allocations: 3.938 kB / 1.446 GB, free: 3.348 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.4934, allocations: 1.368 MB / 1.447 GB, free: 1.957 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.494, allocations: 211 kB / 1.448 GB, free: 1.75 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.4941, allocations: 23.95 kB / 1.448 GB, free: 1.727 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.4947, allocations: 64 kB / 1.448 GB, free: 1.664 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.4949, allocations: 80.84 kB / 1.448 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.495, allocations: 27.98 kB / 1.448 GB, free: 1.559 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006963/0.4957, allocations: 499 kB / 1.448 GB, free: 1.078 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.4957, allocations: 0 / 1.448 GB, free: 1.078 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009269/0.4966, allocations: 343 kB / 1.449 GB, free: 0.7422 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 (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.005054/0.5017, allocations: 2.465 MB / 1.451 GB, free: 14.46 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.5033, allocations: 0.7921 MB / 1.452 GB, free: 13.66 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5033, allocations: 3.984 kB / 1.452 GB, free: 13.65 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009605/0.5043, allocations: 0.5043 MB / 1.452 GB, free: 13.13 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.5055, allocations: 303.3 kB / 1.453 GB, free: 12.86 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.5166, allocations: 6.626 MB / 1.459 GB, free: 6.078 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.5171, allocations: 453.6 kB / 1.46 GB, free: 5.609 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008459/0.5179, allocations: 267 kB / 1.46 GB, free: 5.344 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.5185, allocations: 411.3 kB / 1.46 GB, free: 4.941 MB / 1.154 GB Notification: Performance of SimCode: time 9.12e-07/0.5185, allocations: 0 / 1.46 GB, free: 4.941 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/0.576, allocations: 24.05 MB / 1.484 GB, free: 13.29 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/15.92, allocations: 6.469 kB / 1.484 GB, free: 13.28 MB / 1.186 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 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.mat","/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: 22.681515904027037]