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.001429/0.001429, 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.00169/0.00169, allocations: 207.8 kB / 22.98 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.125/3.125, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002026/0.002026, allocations: 73.66 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3023, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006961/0.3092, allocations: 4.692 MB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1647/0.4739, allocations: 132.7 MB / 1.461 GB, free: 7.035 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.4746, allocations: 19.88 kB / 1.461 GB, free: 7.016 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.4752, allocations: 206.1 kB / 1.461 GB, free: 6.812 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.4769, allocations: 0.5782 MB / 1.462 GB, free: 6.234 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.4788, allocations: 0.8627 MB / 1.463 GB, free: 5.379 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.4803, allocations: 1.443 MB / 1.464 GB, free: 3.93 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007363/0.4811, allocations: 438.2 kB / 1.465 GB, free: 3.477 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000664/0.4817, allocations: 0.5178 MB / 1.465 GB, free: 2.957 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.4824, allocations: 0.5211 MB / 1.466 GB, free: 2.434 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.4826, allocations: 120 kB / 1.466 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000926/0.4835, allocations: 0.4957 MB / 1.466 GB, free: 1.82 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.4838, allocations: 307 kB / 1.467 GB, free: 1.52 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.4843, allocations: 477.7 kB / 1.467 GB, free: 1.051 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.4863, allocations: 1.728 MB / 1.469 GB, free: 15.32 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4863, allocations: 4 kB / 1.469 GB, free: 15.31 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4863, allocations: 0 / 1.469 GB, free: 15.31 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.4863, allocations: 0 / 1.469 GB, free: 15.31 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.002784/0.4891, allocations: 1.451 MB / 1.47 GB, free: 13.83 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4891, allocations: 8.031 kB / 1.47 GB, free: 13.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.4907, allocations: 236 kB / 1.47 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.4921, allocations: 0.7259 MB / 1.471 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-05/0.4921, allocations: 62 kB / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.4923, allocations: 87.98 kB / 1.471 GB, free: 12.68 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.4942, allocations: 1.189 MB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.4942, allocations: 8 kB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/0.4943, allocations: 36 kB / 1.472 GB, free: 11.35 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.4943, allocations: 27.98 kB / 1.472 GB, free: 11.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.4962, allocations: 1.073 MB / 1.474 GB, free: 10.25 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.003949/0.5002, allocations: 2.143 MB / 1.476 GB, free: 8.051 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.5017, allocations: 0.7583 MB / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.5023, allocations: 282.7 kB / 1.477 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.828e-05/0.5024, allocations: 24.64 kB / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009842/0.5033, allocations: 0.5917 MB / 1.477 GB, free: 6.348 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.905e-06/0.5033, allocations: 0 / 1.477 GB, free: 6.348 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003536/0.5069, allocations: 1.136 MB / 1.478 GB, free: 5.203 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.507, allocations: 192.5 kB / 1.479 GB, free: 4.973 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008536/0.5079, allocations: 0.6213 MB / 1.479 GB, free: 4.344 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.508, allocations: 41.7 kB / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.5083, allocations: 421 kB / 1.48 GB, free: 3.879 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.5086, allocations: 285.5 kB / 1.48 GB, free: 3.598 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.5089, allocations: 166.6 kB / 1.48 GB, free: 3.43 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.5091, allocations: 382.8 kB / 1.48 GB, free: 3.047 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.5097, allocations: 277.8 kB / 1.481 GB, free: 2.773 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/0.5104, allocations: 495.6 kB / 1.481 GB, free: 2.246 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.5116, allocations: 0.6111 MB / 1.482 GB, free: 1.629 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5116, allocations: 4 kB / 1.482 GB, free: 1.625 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002133/0.5138, allocations: 0.8609 MB / 1.483 GB, free: 0.75 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5138, allocations: 12.03 kB / 1.483 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5138, allocations: 4 kB / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007084/0.5145, allocations: 84.77 kB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.5152, allocations: 167.8 kB / 1.483 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.5175, allocations: 1.498 MB / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/0.5183, allocations: 87.56 kB / 1.484 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/0.5183, allocations: 48 kB / 1.484 GB, free: 14.75 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.0004191/0.5188, allocations: 275.4 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.5189, allocations: 83.48 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.5215, allocations: 1.066 MB / 1.486 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5215, allocations: 11.94 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5215, allocations: 0 / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5216, allocations: 3.984 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/0.5225, allocations: 0.6537 MB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5225, allocations: 0 / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.5232, allocations: 147.8 kB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000494/0.5237, allocations: 72.78 kB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.5237, allocations: 27.97 kB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.5258, allocations: 1.532 MB / 1.488 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.5258, allocations: 0 / 1.488 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.5287, allocations: 1.344 MB / 1.489 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.5292, allocations: 195.1 kB / 1.49 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5293, allocations: 19.98 kB / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/0.53, allocations: 64 kB / 1.49 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.5301, allocations: 72.86 kB / 1.49 GB, free: 9.008 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/0.5302, allocations: 39.97 kB / 1.49 GB, free: 8.969 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000588/0.5308, allocations: 443 kB / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5308, allocations: 0 / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008796/0.5317, allocations: 347.1 kB / 1.491 GB, free: 8.199 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.002109/0.5338, allocations: 0.639 MB / 1.491 GB, free: 7.762 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.5355, allocations: 0.8038 MB / 1.492 GB, free: 6.945 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5355, allocations: 0 / 1.492 GB, free: 6.945 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009751/0.5365, allocations: 0.4964 MB / 1.492 GB, free: 6.438 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.5377, allocations: 297.5 kB / 1.493 GB, free: 6.172 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.5409, allocations: 1.821 MB / 1.495 GB, free: 4.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.5413, allocations: 454.8 kB / 1.495 GB, free: 3.848 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007926/0.5421, allocations: 266.4 kB / 1.495 GB, free: 3.582 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.5424, allocations: 107.4 kB / 1.495 GB, free: 3.477 MB / 1.186 GB Notification: Performance of SimCode: time 3.51e-07/0.5424, allocations: 0 / 1.495 GB, free: 3.477 MB / 1.186 GB Notification: Performance of Templates: time 0.02848/0.5709, allocations: 16.69 MB / 1.512 GB, free: 3.043 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 gbode -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.420109907994629]