Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.324/3.324, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 64.91 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4335, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008623/0.4421, allocations: 5.314 MB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1991/0.6412, allocations: 151.2 MB / 1.46 GB, free: 4.664 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/0.6422, allocations: 23.81 kB / 1.46 GB, free: 4.641 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.6428, allocations: 218.1 kB / 1.46 GB, free: 4.426 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.6446, allocations: 0.574 MB / 1.461 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.6468, allocations: 0.8655 MB / 1.462 GB, free: 2.992 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001961/0.6488, allocations: 1.459 MB / 1.463 GB, free: 1.527 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007876/0.6496, allocations: 430.8 kB / 1.464 GB, free: 1.078 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007983/0.6504, allocations: 0.5177 MB / 1.464 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000698/0.6511, allocations: 0.529 MB / 1.465 GB, free: 28 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.6513, allocations: 120 kB / 1.465 GB, free: 15.91 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.6524, allocations: 491.5 kB / 1.465 GB, free: 15.43 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.6527, allocations: 315 kB / 1.466 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00064/0.6534, allocations: 0.583 MB / 1.466 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.6562, allocations: 1.697 MB / 1.468 GB, free: 12.83 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6562, allocations: 0 / 1.468 GB, free: 12.83 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6562, allocations: 0 / 1.468 GB, free: 12.83 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.6562, allocations: 0 / 1.468 GB, free: 12.83 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002999/0.6592, allocations: 1.455 MB / 1.469 GB, free: 11.35 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6593, allocations: 8.922 kB / 1.469 GB, free: 11.34 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009683/0.6603, allocations: 196 kB / 1.469 GB, free: 11.15 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.6616, allocations: 0.7298 MB / 1.47 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.6617, allocations: 66 kB / 1.47 GB, free: 10.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.6618, allocations: 84 kB / 1.47 GB, free: 10.24 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.6636, allocations: 0.9574 MB / 1.471 GB, free: 9.242 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.6636, allocations: 0 / 1.471 GB, free: 9.242 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-05/0.6637, allocations: 40 kB / 1.471 GB, free: 9.203 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.563e-05/0.6638, allocations: 23.94 kB / 1.471 GB, free: 9.18 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.6659, allocations: 1.132 MB / 1.472 GB, free: 8.047 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.005015/0.671, allocations: 2.808 MB / 1.475 GB, free: 5.105 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.6728, allocations: 0.8049 MB / 1.476 GB, free: 4.289 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.6734, allocations: 295.7 kB / 1.476 GB, free: 3.996 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.6735, allocations: 36.62 kB / 1.476 GB, free: 3.961 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.6745, allocations: 0.5062 MB / 1.477 GB, free: 3.441 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.6745, allocations: 0 / 1.477 GB, free: 3.441 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003599/0.6781, allocations: 1.18 MB / 1.478 GB, free: 2.25 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.6783, allocations: 188.9 kB / 1.478 GB, free: 2.023 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/0.6793, allocations: 0.6528 MB / 1.479 GB, free: 1.359 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.759e-05/0.6793, allocations: 41.7 kB / 1.479 GB, free: 1.312 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.6798, allocations: 413.1 kB / 1.479 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.6801, allocations: 297.5 kB / 1.479 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.6803, allocations: 166.6 kB / 1.48 GB, free: 452 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.6806, allocations: 398.7 kB / 1.48 GB, free: 44 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/0.6812, allocations: 269.9 kB / 1.48 GB, free: 15.78 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007197/0.6819, allocations: 375.1 kB / 1.481 GB, free: 15.4 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.6832, allocations: 0.6359 MB / 1.481 GB, free: 14.75 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.6832, allocations: 0 / 1.481 GB, free: 14.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002155/0.6854, allocations: 0.8881 MB / 1.482 GB, free: 13.86 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6854, allocations: 8 kB / 1.482 GB, free: 13.85 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6854, allocations: 0 / 1.482 GB, free: 13.85 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.686, allocations: 84.86 kB / 1.482 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/0.6868, allocations: 175.7 kB / 1.482 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.6891, allocations: 1.528 MB / 1.484 GB, free: 11.94 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008703/0.69, allocations: 103.5 kB / 1.484 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.6901, allocations: 27.98 kB / 1.484 GB, free: 11.81 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 (100): * Single equations (assignments): 99 * 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.0005731/0.6906, allocations: 276.2 kB / 1.484 GB, free: 11.54 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.6908, allocations: 91.44 kB / 1.484 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.6935, allocations: 1.086 MB / 1.485 GB, free: 10.35 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6935, allocations: 12 kB / 1.485 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.6935, allocations: 0 / 1.485 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.6935, allocations: 15.86 kB / 1.485 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.6948, allocations: 0.8988 MB / 1.486 GB, free: 9.379 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.6948, allocations: 3.938 kB / 1.486 GB, free: 9.375 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.6955, allocations: 163.7 kB / 1.486 GB, free: 9.215 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.696, allocations: 68.8 kB / 1.486 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.865e-05/0.696, allocations: 27.97 kB / 1.486 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.6982, allocations: 1.552 MB / 1.488 GB, free: 7.438 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6982, allocations: 0 / 1.488 GB, free: 7.438 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/0.7012, allocations: 1.375 MB / 1.489 GB, free: 6.047 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.7017, allocations: 203.1 kB / 1.49 GB, free: 5.848 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.7018, allocations: 27.88 kB / 1.49 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.7025, allocations: 64 kB / 1.49 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.7026, allocations: 76.86 kB / 1.49 GB, free: 5.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.7027, allocations: 39.97 kB / 1.49 GB, free: 5.641 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007248/0.7035, allocations: 467 kB / 1.49 GB, free: 5.188 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.7035, allocations: 0 / 1.49 GB, free: 5.188 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009965/0.7044, allocations: 339.2 kB / 1.49 GB, free: 4.855 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 (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.002052/0.7065, allocations: 0.6159 MB / 1.491 GB, free: 4.41 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.7084, allocations: 0.8233 MB / 1.492 GB, free: 3.578 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.7084, allocations: 0 / 1.492 GB, free: 3.578 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.7095, allocations: 0.5043 MB / 1.492 GB, free: 3.062 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.7108, allocations: 307.9 kB / 1.493 GB, free: 2.785 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.7144, allocations: 1.874 MB / 1.494 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.7151, allocations: 1.039 MB / 1.496 GB, free: 15.81 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008699/0.716, allocations: 262.9 kB / 1.496 GB, free: 15.55 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.7164, allocations: 111.4 kB / 1.496 GB, free: 15.44 MB / 1.201 GB Notification: Performance of SimCode: time 8.71e-07/0.7164, allocations: 0 / 1.496 GB, free: 15.44 MB / 1.201 GB Notification: Performance of Templates: time 0.03081/0.7472, allocations: 16.15 MB / 1.512 GB, free: 15.47 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.406713181175292]