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.00182/0.00182, allocations: 113 kB / 18.94 MB, free: 2.934 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.002413/0.002413, allocations: 209 kB / 22.25 MB, free: 5.086 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.016 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.805/2.805, allocations: 476.7 MB / 0.7707 GB, free: 4.281 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.002084/0.002084, allocations: 68.03 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3432, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.206/0.5491, allocations: 169.7 MB / 1.449 GB, free: 1.277 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.5636, allocations: 8.047 MB / 1.457 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.5653, allocations: 43.69 kB / 1.457 GB, free: 9.16 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.5669, allocations: 428.9 kB / 1.457 GB, free: 8.738 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.5713, allocations: 1.371 MB / 1.459 GB, free: 7.363 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.5747, allocations: 1.236 MB / 1.46 GB, free: 6.137 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003821/0.5785, allocations: 2.43 MB / 1.462 GB, free: 3.699 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.5804, allocations: 0.9799 MB / 1.463 GB, free: 2.699 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.5822, allocations: 0.8602 MB / 1.464 GB, free: 1.836 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.5842, allocations: 0.8269 MB / 1.465 GB, free: 1.008 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.5847, allocations: 152 kB / 1.465 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.5875, allocations: 1.217 MB / 1.466 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006391/0.5881, allocations: 450.5 kB / 1.467 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.5894, allocations: 0.7852 MB / 1.467 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.594, allocations: 2.464 MB / 1.47 GB, free: 11.94 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.594, allocations: 4 kB / 1.47 GB, free: 11.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.593e-06/0.594, allocations: 0 / 1.47 GB, free: 11.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.374e-05/0.5941, allocations: 3.938 kB / 1.47 GB, free: 11.93 MB / 1.17 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.004728/0.5988, allocations: 1.881 MB / 1.472 GB, free: 10.01 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5989, allocations: 8.031 kB / 1.472 GB, free: 10 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003259/0.5992, allocations: 172.9 kB / 1.472 GB, free: 9.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.6018, allocations: 378.6 kB / 1.472 GB, free: 9.449 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.604, allocations: 0.9512 MB / 1.473 GB, free: 8.461 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/0.6041, allocations: 86.2 kB / 1.473 GB, free: 8.375 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.6043, allocations: 108 kB / 1.473 GB, free: 8.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.6068, allocations: 1.172 MB / 1.475 GB, free: 7.027 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.6068, allocations: 3.938 kB / 1.475 GB, free: 7.023 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.6069, allocations: 51.98 kB / 1.475 GB, free: 6.973 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/0.607, allocations: 42.06 kB / 1.475 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.6094, allocations: 1.304 MB / 1.476 GB, free: 5.617 MB / 1.17 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.007155/0.6166, allocations: 3.762 MB / 1.48 GB, free: 1.656 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.6187, allocations: 0.9381 MB / 1.48 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.6195, allocations: 367.6 kB / 1.481 GB, free: 364 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.6196, allocations: 37.02 kB / 1.481 GB, free: 328 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.6208, allocations: 0.5874 MB / 1.481 GB, free: 15.71 MB / 1.186 GB Notification: Performance of pre-optimization done (n=102): time 6.241e-06/0.6209, allocations: 3.984 kB / 1.481 GB, free: 15.71 MB / 1.186 GB Notification: Performance of matching and sorting (n=102): time 0.004231/0.6251, allocations: 1.375 MB / 1.483 GB, free: 14.33 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.6252, allocations: 192.9 kB / 1.483 GB, free: 14.1 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.6268, allocations: 0.8663 MB / 1.484 GB, free: 13.21 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.627, allocations: 49.7 kB / 1.484 GB, free: 13.15 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/0.6276, allocations: 0.5363 MB / 1.484 GB, free: 12.61 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004359/0.628, allocations: 365 kB / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.6284, allocations: 178.6 kB / 1.485 GB, free: 12.07 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6285, allocations: 341.9 kB / 1.485 GB, free: 11.73 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.6293, allocations: 309.8 kB / 1.486 GB, free: 11.43 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/0.6301, allocations: 479.6 kB / 1.486 GB, free: 10.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6316, allocations: 0.7776 MB / 1.487 GB, free: 10.1 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6317, allocations: 4 kB / 1.487 GB, free: 10.1 MB / 1.186 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002691/0.6343, allocations: 1.032 MB / 1.488 GB, free: 9.059 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.6344, allocations: 8 kB / 1.488 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6344, allocations: 4 kB / 1.488 GB, free: 9.047 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/0.635, allocations: 84.98 kB / 1.488 GB, free: 8.961 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.636, allocations: 203.7 kB / 1.488 GB, free: 8.762 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.6384, allocations: 1.53 MB / 1.49 GB, free: 7.109 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.6396, allocations: 111.3 kB / 1.49 GB, free: 7 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.6397, allocations: 35.98 kB / 1.49 GB, free: 6.965 MB / 1.186 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.0007622/0.6405, allocations: 317.8 kB / 1.49 GB, free: 6.645 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.6408, allocations: 127.2 kB / 1.49 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.6438, allocations: 1.244 MB / 1.491 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.6438, allocations: 12 kB / 1.491 GB, free: 5.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6439, allocations: 0 / 1.491 GB, free: 5.25 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.6439, allocations: 7.969 kB / 1.491 GB, free: 5.242 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.6458, allocations: 1.164 MB / 1.492 GB, free: 4.035 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.6458, allocations: 0 / 1.492 GB, free: 4.035 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/0.6468, allocations: 207.8 kB / 1.493 GB, free: 3.832 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/0.6473, allocations: 68.78 kB / 1.493 GB, free: 3.762 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.6474, allocations: 27.98 kB / 1.493 GB, free: 3.734 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.6495, allocations: 1.566 MB / 1.494 GB, free: 2.047 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6495, allocations: 3.938 kB / 1.494 GB, free: 2.043 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/0.6529, allocations: 1.586 MB / 1.496 GB, free: 448 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006842/0.6536, allocations: 258.9 kB / 1.496 GB, free: 188 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.6538, allocations: 20 kB / 1.496 GB, free: 168 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/0.6547, allocations: 75.98 kB / 1.496 GB, free: 92 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.6549, allocations: 84.83 kB / 1.496 GB, free: 4 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.655, allocations: 39.98 kB / 1.496 GB, free: 15.96 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001012/0.6561, allocations: 0.6061 MB / 1.497 GB, free: 15.35 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6561, allocations: 0 / 1.497 GB, free: 15.35 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001198/0.6573, allocations: 431 kB / 1.497 GB, free: 14.93 MB / 1.201 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.005837/0.6631, allocations: 2.65 MB / 1.5 GB, free: 12.43 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002213/0.6653, allocations: 0.933 MB / 1.501 GB, free: 11.48 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6653, allocations: 7.938 kB / 1.501 GB, free: 11.47 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.6665, allocations: 0.5665 MB / 1.501 GB, free: 10.9 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.6687, allocations: 494.2 kB / 1.502 GB, free: 10.44 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.685, allocations: 8.319 MB / 1.51 GB, free: 1.938 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.686, allocations: 1.159 MB / 1.511 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00132/0.6873, allocations: 325.4 kB / 1.511 GB, free: 436 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008899/0.6882, allocations: 0.5188 MB / 1.512 GB, free: 15.91 MB / 1.217 GB Notification: Performance of SimCode: time 1.282e-06/0.6882, allocations: 0 / 1.512 GB, free: 15.91 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09602/0.7843, allocations: 30.78 MB / 1.542 GB, free: 1.449 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/17.44, allocations: 4.062 kB / 1.542 GB, free: 1.445 MB / 1.232 GB " [Timeout remaining time 282] (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: 24.348210063995793]