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.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.001548/0.001548, 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.001779/0.001779, allocations: 213.4 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.461/1.461, 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 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.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.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: 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.001993/0.001993, allocations: 64.89 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2916, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007032/0.2986, allocations: 4.766 MB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1675/0.4661, allocations: 132.7 MB / 1.461 GB, free: 6.938 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007617/0.4669, allocations: 19.88 kB / 1.461 GB, free: 6.918 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.4675, allocations: 206.1 kB / 1.462 GB, free: 6.715 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.4693, allocations: 0.5958 MB / 1.462 GB, free: 6.121 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.4713, allocations: 0.8715 MB / 1.463 GB, free: 5.254 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.4729, allocations: 1.471 MB / 1.464 GB, free: 3.777 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007509/0.4737, allocations: 439.5 kB / 1.465 GB, free: 3.32 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007275/0.4744, allocations: 0.5255 MB / 1.465 GB, free: 2.793 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006742/0.4751, allocations: 0.5368 MB / 1.466 GB, free: 2.254 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.4753, allocations: 124 kB / 1.466 GB, free: 2.133 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009469/0.4762, allocations: 0.4957 MB / 1.467 GB, free: 1.637 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.4765, allocations: 318.9 kB / 1.467 GB, free: 1.324 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.477, allocations: 485.7 kB / 1.467 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.4791, allocations: 1.751 MB / 1.469 GB, free: 15.09 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4791, allocations: 0 / 1.469 GB, free: 15.09 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4791, allocations: 4 kB / 1.469 GB, free: 15.08 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.4792, allocations: 0 / 1.469 GB, free: 15.08 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.002882/0.482, allocations: 1.478 MB / 1.47 GB, free: 13.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4821, allocations: 11.97 kB / 1.47 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.4839, allocations: 240 kB / 1.471 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.4853, allocations: 0.7415 MB / 1.471 GB, free: 12.55 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.4854, allocations: 66 kB / 1.471 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.4855, allocations: 84 kB / 1.472 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.4874, allocations: 1.208 MB / 1.473 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.4875, allocations: 0 / 1.473 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/0.4875, allocations: 36 kB / 1.473 GB, free: 11.06 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.4876, allocations: 20 kB / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.4896, allocations: 1.104 MB / 1.474 GB, free: 9.934 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.004242/0.4938, allocations: 2.166 MB / 1.476 GB, free: 7.715 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.4955, allocations: 0.7944 MB / 1.477 GB, free: 6.914 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/0.4962, allocations: 302.7 kB / 1.477 GB, free: 6.613 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.613e-05/0.4962, allocations: 24.62 kB / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.4973, allocations: 0.6105 MB / 1.478 GB, free: 5.941 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.555e-06/0.4973, allocations: 0 / 1.478 GB, free: 5.941 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003645/0.5009, allocations: 1.164 MB / 1.479 GB, free: 4.766 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.5011, allocations: 196.9 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008773/0.502, allocations: 0.6292 MB / 1.48 GB, free: 3.895 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.502, allocations: 45.64 kB / 1.48 GB, free: 3.844 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.5025, allocations: 429.2 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.5027, allocations: 297.5 kB / 1.48 GB, free: 3.125 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.503, allocations: 174.6 kB / 1.48 GB, free: 2.949 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5032, allocations: 382.8 kB / 1.481 GB, free: 2.566 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.5038, allocations: 277.8 kB / 1.481 GB, free: 2.293 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/0.5046, allocations: 0.4918 MB / 1.482 GB, free: 1.758 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.5059, allocations: 0.636 MB / 1.482 GB, free: 1.113 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5059, allocations: 0 / 1.482 GB, free: 1.113 MB / 1.17 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00228/0.5082, allocations: 0.8843 MB / 1.483 GB, free: 224 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5082, allocations: 8 kB / 1.483 GB, free: 216 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.5082, allocations: 3.938 kB / 1.483 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.5089, allocations: 80.88 kB / 1.483 GB, free: 128 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/0.5097, allocations: 175.8 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.512, allocations: 1.496 MB / 1.485 GB, free: 14.35 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.5127, allocations: 99.5 kB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.5128, allocations: 39.97 kB / 1.485 GB, free: 14.21 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.0004828/0.5133, allocations: 275.5 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.5135, allocations: 87.44 kB / 1.485 GB, free: 13.85 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.5162, allocations: 1.089 MB / 1.486 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.5162, allocations: 12 kB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5162, allocations: 0 / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5162, allocations: 3.984 kB / 1.486 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.5171, allocations: 0.6616 MB / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5171, allocations: 0 / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.5178, allocations: 151.8 kB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.5183, allocations: 72.78 kB / 1.487 GB, free: 11.81 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.5184, allocations: 35.97 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.5205, allocations: 1.524 MB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5205, allocations: 0 / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.5234, allocations: 1.371 MB / 1.49 GB, free: 8.746 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/0.5239, allocations: 207.2 kB / 1.49 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5241, allocations: 20 kB / 1.49 GB, free: 8.523 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.5247, allocations: 59.92 kB / 1.49 GB, free: 8.465 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.5249, allocations: 76.86 kB / 1.49 GB, free: 8.391 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/0.525, allocations: 43.91 kB / 1.49 GB, free: 8.348 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006449/0.5256, allocations: 451 kB / 1.491 GB, free: 7.91 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5256, allocations: 0 / 1.491 GB, free: 7.91 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008709/0.5265, allocations: 355 kB / 1.491 GB, free: 7.562 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.002134/0.5286, allocations: 0.6398 MB / 1.492 GB, free: 7.129 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.5305, allocations: 0.8236 MB / 1.493 GB, free: 6.293 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5305, allocations: 4 kB / 1.493 GB, free: 6.289 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5315, allocations: 0.5079 MB / 1.493 GB, free: 5.77 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5327, allocations: 298.8 kB / 1.493 GB, free: 5.5 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.5362, allocations: 1.886 MB / 1.495 GB, free: 3.582 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.5367, allocations: 461.4 kB / 1.496 GB, free: 3.098 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007721/0.5375, allocations: 254.7 kB / 1.496 GB, free: 2.844 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.5378, allocations: 115.4 kB / 1.496 GB, free: 2.73 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.5378, allocations: 0 / 1.496 GB, free: 2.73 MB / 1.186 GB Notification: Performance of Templates: time 0.03019/0.568, allocations: 16.91 MB / 1.513 GB, free: 2.082 MB / 1.201 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 -s gbode -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/jenkins1/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: 9.352907698004856]