Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001386/0.001386, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001455/0.001455, allocations: 211.1 kB / 22.99 MB, free: 4.984 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [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.002118/0.002118, allocations: 67.05 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007827/0.3338, allocations: 4.679 MB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1734/0.5072, allocations: 132.7 MB / 1.461 GB, free: 7.07 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000951/0.5081, allocations: 27.75 kB / 1.461 GB, free: 7.043 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.5088, allocations: 206.1 kB / 1.461 GB, free: 6.84 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.5109, allocations: 0.5748 MB / 1.462 GB, free: 6.266 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.5131, allocations: 0.8648 MB / 1.463 GB, free: 5.406 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.515, allocations: 1.447 MB / 1.464 GB, free: 3.953 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008155/0.5158, allocations: 430.3 kB / 1.465 GB, free: 3.508 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000819/0.5166, allocations: 0.5216 MB / 1.465 GB, free: 2.984 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.5173, allocations: 0.5173 MB / 1.466 GB, free: 2.465 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.5175, allocations: 120 kB / 1.466 GB, free: 2.348 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.5186, allocations: 0.4996 MB / 1.466 GB, free: 1.848 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.5189, allocations: 303 kB / 1.467 GB, free: 1.551 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007218/0.5196, allocations: 485.7 kB / 1.467 GB, free: 1.074 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.5221, allocations: 1.72 MB / 1.469 GB, free: 15.34 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5221, allocations: 4 kB / 1.469 GB, free: 15.34 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5221, allocations: 0 / 1.469 GB, free: 15.34 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.5221, allocations: 3.938 kB / 1.469 GB, free: 15.34 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003179/0.5253, allocations: 1.447 MB / 1.47 GB, free: 13.86 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5253, allocations: 8.031 kB / 1.47 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.5269, allocations: 232 kB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.5285, allocations: 0.7375 MB / 1.471 GB, free: 12.85 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.5285, allocations: 62 kB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.5287, allocations: 87.98 kB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.5308, allocations: 1.185 MB / 1.472 GB, free: 11.42 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.5308, allocations: 4 kB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/0.5309, allocations: 40 kB / 1.472 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.531, allocations: 20 kB / 1.472 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.5328, allocations: 1.073 MB / 1.474 GB, free: 10.28 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.004229/0.5371, allocations: 2.143 MB / 1.476 GB, free: 8.082 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.5387, allocations: 0.7544 MB / 1.476 GB, free: 7.32 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006519/0.5394, allocations: 282.7 kB / 1.477 GB, free: 7.043 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.5396, allocations: 24.64 kB / 1.477 GB, free: 7.02 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.5411, allocations: 0.5879 MB / 1.477 GB, free: 6.387 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 4.087e-06/0.5411, allocations: 0 / 1.477 GB, free: 6.387 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.005386/0.5465, allocations: 1.14 MB / 1.478 GB, free: 5.238 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.5467, allocations: 188.6 kB / 1.478 GB, free: 5.012 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5481, allocations: 0.629 MB / 1.479 GB, free: 4.375 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.5482, allocations: 41.64 kB / 1.479 GB, free: 4.328 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.5488, allocations: 421 kB / 1.48 GB, free: 3.91 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.5491, allocations: 277.6 kB / 1.48 GB, free: 3.637 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/0.5496, allocations: 174.6 kB / 1.48 GB, free: 3.461 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002796/0.5498, allocations: 378.8 kB / 1.48 GB, free: 3.082 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009241/0.5508, allocations: 273.9 kB / 1.481 GB, free: 2.812 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.5519, allocations: 499.5 kB / 1.481 GB, free: 2.281 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.5538, allocations: 0.6151 MB / 1.482 GB, free: 1.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5538, allocations: 0 / 1.482 GB, free: 1.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003426/0.5572, allocations: 0.8609 MB / 1.483 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.5573, allocations: 16.03 kB / 1.483 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5573, allocations: 0 / 1.483 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/0.5583, allocations: 84.77 kB / 1.483 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.5595, allocations: 175.7 kB / 1.483 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.5628, allocations: 1.498 MB / 1.484 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.5642, allocations: 87.59 kB / 1.484 GB, free: 14.82 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.5643, allocations: 39.97 kB / 1.484 GB, free: 14.78 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * 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.0007776/0.5651, allocations: 279.5 kB / 1.485 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.5654, allocations: 79.48 kB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.5693, allocations: 1.069 MB / 1.486 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.5693, allocations: 11.94 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5693, allocations: 4 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.5693, allocations: 3.984 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.5709, allocations: 0.6459 MB / 1.486 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5709, allocations: 0 / 1.486 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.572, allocations: 147.8 kB / 1.487 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007096/0.5727, allocations: 76.78 kB / 1.487 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.422e-05/0.5728, allocations: 23.98 kB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.576, allocations: 1.528 MB / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.576, allocations: 4.062 kB / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/0.5807, allocations: 1.344 MB / 1.489 GB, free: 9.391 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007819/0.5815, allocations: 199.1 kB / 1.49 GB, free: 9.195 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.5818, allocations: 19.98 kB / 1.49 GB, free: 9.176 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/0.5828, allocations: 68 kB / 1.49 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.583, allocations: 72.86 kB / 1.49 GB, free: 9.035 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.5831, allocations: 35.97 kB / 1.49 GB, free: 9 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009519/0.5841, allocations: 454.9 kB / 1.49 GB, free: 8.559 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5841, allocations: 0 / 1.49 GB, free: 8.559 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001496/0.5856, allocations: 343.1 kB / 1.491 GB, free: 8.223 MB / 1.186 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 (93): * Single equations (assignments): 87 * 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.003097/0.5886, allocations: 0.6433 MB / 1.491 GB, free: 7.785 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.5916, allocations: 0.8038 MB / 1.492 GB, free: 6.969 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.5916, allocations: 0 / 1.492 GB, free: 6.969 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.593, allocations: 0.4926 MB / 1.492 GB, free: 6.465 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.595, allocations: 289.1 kB / 1.493 GB, free: 6.203 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/0.6002, allocations: 1.819 MB / 1.495 GB, free: 4.352 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.6009, allocations: 454.7 kB / 1.495 GB, free: 3.879 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00135/0.6023, allocations: 270.4 kB / 1.495 GB, free: 3.609 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/0.6027, allocations: 107.4 kB / 1.495 GB, free: 3.504 MB / 1.186 GB Notification: Performance of SimCode: time 1.332e-06/0.6027, allocations: 0 / 1.495 GB, free: 3.504 MB / 1.186 GB Notification: Performance of Templates: time 0.03468/0.6374, allocations: 16.7 MB / 1.512 GB, free: 3.066 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 9.664088207005989]