Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001758/0.001758, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002212/0.002212, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.809 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.791/2.791, allocations: 476 MB / 0.7699 GB, free: 4.777 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.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002036/0.002036, allocations: 65.97 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2846, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1835/0.4681, allocations: 146.3 MB / 1.425 GB, free: 9.594 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.4819, allocations: 7.52 MB / 1.433 GB, free: 2.047 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.4833, allocations: 47.62 kB / 1.433 GB, free: 2 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.4847, allocations: 405 kB / 1.433 GB, free: 1.602 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.4887, allocations: 1.366 MB / 1.435 GB, free: 240 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.492, allocations: 1.204 MB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003604/0.4956, allocations: 2.399 MB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.4973, allocations: 0.9642 MB / 1.439 GB, free: 11.64 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.4988, allocations: 0.8719 MB / 1.44 GB, free: 10.77 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.5005, allocations: 0.7549 MB / 1.441 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.5008, allocations: 152 kB / 1.441 GB, free: 9.867 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.5032, allocations: 1.014 MB / 1.442 GB, free: 8.852 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.5036, allocations: 450.6 kB / 1.442 GB, free: 8.41 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007898/0.5044, allocations: 0.6337 MB / 1.443 GB, free: 7.773 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.5084, allocations: 2.464 MB / 1.445 GB, free: 5.301 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5084, allocations: 4 kB / 1.445 GB, free: 5.297 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5084, allocations: 0 / 1.445 GB, free: 5.297 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.611e-05/0.5084, allocations: 0 / 1.445 GB, free: 5.297 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003719/0.5121, allocations: 1.868 MB / 1.447 GB, free: 3.387 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5122, allocations: 15.97 kB / 1.447 GB, free: 3.371 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/0.5124, allocations: 172.9 kB / 1.447 GB, free: 3.191 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.5148, allocations: 378.6 kB / 1.448 GB, free: 2.82 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.5168, allocations: 0.959 MB / 1.448 GB, free: 1.824 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.5168, allocations: 78.2 kB / 1.449 GB, free: 1.746 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.517, allocations: 108 kB / 1.449 GB, free: 1.641 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.5195, allocations: 1.531 MB / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.5195, allocations: 0 / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.5196, allocations: 48 kB / 1.45 GB, free: 15.9 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.5197, allocations: 50 kB / 1.45 GB, free: 15.85 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.522, allocations: 1.261 MB / 1.451 GB, free: 14.59 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.005767/0.5278, allocations: 2.907 MB / 1.454 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.5296, allocations: 0.9407 MB / 1.455 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007171/0.5304, allocations: 372.9 kB / 1.456 GB, free: 10.29 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.71e-05/0.5304, allocations: 24.97 kB / 1.456 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.5317, allocations: 0.7882 MB / 1.456 GB, free: 9.418 MB / 1.154 GB Notification: Performance of pre-optimization done (n=102): time 2.996e-06/0.5317, allocations: 0 / 1.456 GB, free: 9.418 MB / 1.154 GB Notification: Performance of matching and sorting (n=102): time 0.003914/0.5356, allocations: 1.367 MB / 1.458 GB, free: 8.039 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.5357, allocations: 208.8 kB / 1.458 GB, free: 7.793 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.537, allocations: 0.8625 MB / 1.459 GB, free: 6.906 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.5371, allocations: 45.7 kB / 1.459 GB, free: 6.855 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/0.5376, allocations: 0.5403 MB / 1.459 GB, free: 6.309 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.538, allocations: 353 kB / 1.46 GB, free: 5.961 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.5383, allocations: 190.5 kB / 1.46 GB, free: 5.77 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5384, allocations: 341.9 kB / 1.46 GB, free: 5.43 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.5391, allocations: 309.8 kB / 1.46 GB, free: 5.125 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/0.5399, allocations: 0.5939 MB / 1.461 GB, free: 4.457 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.5414, allocations: 0.7777 MB / 1.462 GB, free: 3.648 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5414, allocations: 0 / 1.462 GB, free: 3.648 MB / 1.154 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00239/0.5438, allocations: 1.032 MB / 1.463 GB, free: 2.609 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5438, allocations: 4 kB / 1.463 GB, free: 2.605 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.5438, allocations: 7.984 kB / 1.463 GB, free: 2.598 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.5444, allocations: 81 kB / 1.463 GB, free: 2.516 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/0.5452, allocations: 207.7 kB / 1.463 GB, free: 2.312 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.5474, allocations: 1.527 MB / 1.465 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.5485, allocations: 107.4 kB / 1.465 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/0.5486, allocations: 43.97 kB / 1.465 GB, free: 0.5117 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0006152/0.5492, allocations: 313.5 kB / 1.465 GB, free: 200 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.5494, allocations: 123.2 kB / 1.465 GB, free: 76 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.5522, allocations: 1.244 MB / 1.466 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.5522, allocations: 12 kB / 1.466 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5522, allocations: 3.938 kB / 1.466 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5522, allocations: 7.969 kB / 1.466 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.5538, allocations: 0.9891 MB / 1.467 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5538, allocations: 0 / 1.467 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/0.5547, allocations: 219.7 kB / 1.468 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.5551, allocations: 64.8 kB / 1.468 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.5552, allocations: 31.95 kB / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.5572, allocations: 1.551 MB / 1.469 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5572, allocations: 0 / 1.469 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.5605, allocations: 1.586 MB / 1.471 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006811/0.5612, allocations: 250.9 kB / 1.471 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.5614, allocations: 23.98 kB / 1.471 GB, free: 9.902 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/0.5622, allocations: 63.94 kB / 1.471 GB, free: 9.84 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5623, allocations: 84.83 kB / 1.471 GB, free: 9.754 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.5624, allocations: 43.97 kB / 1.471 GB, free: 9.711 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008946/0.5633, allocations: 0.6061 MB / 1.472 GB, free: 9.094 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5633, allocations: 0 / 1.472 GB, free: 9.094 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001033/0.5643, allocations: 427 kB / 1.472 GB, free: 8.676 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005512/0.5699, allocations: 2.692 MB / 1.475 GB, free: 6.164 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.5719, allocations: 0.9287 MB / 1.476 GB, free: 5.223 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5719, allocations: 0.5625 kB / 1.476 GB, free: 5.223 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.5729, allocations: 0.5704 MB / 1.476 GB, free: 4.641 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.5749, allocations: 499.2 kB / 1.477 GB, free: 4.18 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.5892, allocations: 8.323 MB / 1.485 GB, free: 11.68 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/0.5899, allocations: 0.5676 MB / 1.485 GB, free: 11.07 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001105/0.591, allocations: 329.3 kB / 1.486 GB, free: 10.75 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008038/0.5918, allocations: 0.5188 MB / 1.486 GB, free: 10.23 MB / 1.186 GB Notification: Performance of SimCode: time 7.92e-07/0.5918, allocations: 0 / 1.486 GB, free: 10.23 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07926/0.6711, allocations: 32.32 MB / 1.518 GB, free: 10.4 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.35, allocations: 10.66 kB / 1.518 GB, free: 10.39 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.10451319301501]