Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 106.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.83 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.7529, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006574/0.7596, allocations: 5.227 MB / 1.214 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.9189, allocations: 150.7 MB / 1.361 GB, free: 1.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.9199, allocations: 23.88 kB / 1.361 GB, free: 1.066 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.9208, allocations: 198.1 kB / 1.361 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.9231, allocations: 0.5629 MB / 1.361 GB, free: 316 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.9256, allocations: 0.8364 MB / 1.362 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.9278, allocations: 1.459 MB / 1.364 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.9292, allocations: 0.6152 MB / 1.364 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.9302, allocations: 0.5022 MB / 1.365 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009425/0.9312, allocations: 0.5173 MB / 1.365 GB, free: 12.36 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.9316, allocations: 120 kB / 1.365 GB, free: 12.24 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.9329, allocations: 495.5 kB / 1.366 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.9334, allocations: 303 kB / 1.366 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009341/0.9343, allocations: 0.5907 MB / 1.367 GB, free: 10.86 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.937, allocations: 1.692 MB / 1.368 GB, free: 9.168 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.937, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.774e-06/0.937, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.273e-05/0.9371, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.092 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.003479/0.9406, allocations: 1.481 MB / 1.37 GB, free: 7.633 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.9406, allocations: 12.03 kB / 1.37 GB, free: 7.621 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/0.9416, allocations: 191.3 kB / 1.37 GB, free: 7.434 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.9429, allocations: 0.7935 MB / 1.371 GB, free: 6.598 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.943, allocations: 66 kB / 1.371 GB, free: 6.535 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.9431, allocations: 84 kB / 1.371 GB, free: 6.453 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.9448, allocations: 0.9535 MB / 1.372 GB, free: 5.457 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.9449, allocations: 3.938 kB / 1.372 GB, free: 5.453 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.9449, allocations: 36 kB / 1.372 GB, free: 5.418 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.945, allocations: 28 kB / 1.372 GB, free: 5.391 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.9467, allocations: 1.136 MB / 1.373 GB, free: 4.258 MB / 1.092 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.004508/0.9512, allocations: 2.771 MB / 1.376 GB, free: 1.363 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.9529, allocations: 0.8436 MB / 1.377 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.9535, allocations: 329.1 kB / 1.377 GB, free: 192 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.9536, allocations: 32.7 kB / 1.377 GB, free: 160 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000961/0.9545, allocations: 0.5096 MB / 1.377 GB, free: 15.63 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.727e-06/0.9546, allocations: 0 / 1.377 GB, free: 15.63 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003346/0.9579, allocations: 1.251 MB / 1.379 GB, free: 14.35 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.958, allocations: 188.9 kB / 1.379 GB, free: 14.12 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.959, allocations: 0.6605 MB / 1.379 GB, free: 13.46 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.514e-05/0.9591, allocations: 41.7 kB / 1.379 GB, free: 13.41 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.9595, allocations: 408.5 kB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.9598, allocations: 283.8 kB / 1.38 GB, free: 12.73 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/0.9601, allocations: 166.5 kB / 1.38 GB, free: 12.56 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9602, allocations: 394.7 kB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/0.9608, allocations: 273.9 kB / 1.381 GB, free: 11.89 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/0.9615, allocations: 379.1 kB / 1.381 GB, free: 11.51 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.9626, allocations: 0.632 MB / 1.382 GB, free: 10.87 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.9626, allocations: 0 / 1.382 GB, free: 10.87 MB / 1.107 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002104/0.9647, allocations: 0.8877 MB / 1.383 GB, free: 9.973 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.9648, allocations: 4 kB / 1.383 GB, free: 9.969 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.9648, allocations: 3.984 kB / 1.383 GB, free: 9.965 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.9654, allocations: 80.88 kB / 1.383 GB, free: 9.883 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.9661, allocations: 175.7 kB / 1.383 GB, free: 9.711 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.9684, allocations: 1.634 MB / 1.385 GB, free: 7.934 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/0.9693, allocations: 95.31 kB / 1.385 GB, free: 7.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.9695, allocations: 35.97 kB / 1.385 GB, free: 7.805 MB / 1.107 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.0005912/0.9701, allocations: 275.4 kB / 1.385 GB, free: 7.527 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.9704, allocations: 82.97 kB / 1.385 GB, free: 7.445 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.9729, allocations: 1.093 MB / 1.386 GB, free: 6.332 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.9729, allocations: 11.94 kB / 1.386 GB, free: 6.32 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9729, allocations: 0 / 1.386 GB, free: 6.32 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9729, allocations: 3.984 kB / 1.386 GB, free: 6.316 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.9742, allocations: 0.9307 MB / 1.387 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.9743, allocations: 0 / 1.387 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.9749, allocations: 167.7 kB / 1.387 GB, free: 5.172 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.9754, allocations: 72.78 kB / 1.387 GB, free: 5.098 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.9755, allocations: 27.98 kB / 1.387 GB, free: 5.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.9775, allocations: 1.646 MB / 1.389 GB, free: 3.277 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9775, allocations: 3.938 kB / 1.389 GB, free: 3.273 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.9803, allocations: 1.367 MB / 1.39 GB, free: 1.887 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.9808, allocations: 279.8 kB / 1.391 GB, free: 1.594 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.981, allocations: 31.86 kB / 1.391 GB, free: 1.562 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/0.9818, allocations: 55.94 kB / 1.391 GB, free: 1.508 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.9819, allocations: 77.03 kB / 1.391 GB, free: 1.434 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.344e-05/0.982, allocations: 35.98 kB / 1.391 GB, free: 1.398 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006875/0.9827, allocations: 475 kB / 1.391 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9827, allocations: 3.938 kB / 1.391 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001045/0.9838, allocations: 327.3 kB / 1.392 GB, free: 0.6172 MB / 1.107 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.001501/0.9853, allocations: 0.603 MB / 1.392 GB, free: 196 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.9873, allocations: 0.8626 MB / 1.393 GB, free: 15.31 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9873, allocations: 0 / 1.393 GB, free: 15.31 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.9883, allocations: 0.5392 MB / 1.393 GB, free: 14.77 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.9899, allocations: 303.2 kB / 1.394 GB, free: 14.49 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.9937, allocations: 1.885 MB / 1.396 GB, free: 12.57 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.9945, allocations: 1.035 MB / 1.397 GB, free: 11.5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.9949, allocations: 123.3 kB / 1.397 GB, free: 11.38 MB / 1.123 GB Notification: Performance of SimCode: time 1.222e-06/0.9949, allocations: 0 / 1.397 GB, free: 11.38 MB / 1.123 GB Notification: Performance of Templates: time 0.02852/1.023, allocations: 19.19 MB / 1.415 GB, free: 8.246 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches