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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005569/0.005569, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001311/0.001311, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7453 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.89 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3716, allocations: 159.9 MB / 1.226 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007177/0.3789, allocations: 5.245 MB / 1.231 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.049/1.428, allocations: 150.7 MB / 1.378 GB, free: 5.098 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/1.429, allocations: 20.5 kB / 1.378 GB, free: 5.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007722/1.43, allocations: 202.7 kB / 1.378 GB, free: 4.961 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/1.432, allocations: 0.5623 MB / 1.379 GB, free: 4.633 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/1.435, allocations: 0.8551 MB / 1.379 GB, free: 4.188 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002367/1.437, allocations: 1.442 MB / 1.381 GB, free: 3.445 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/1.439, allocations: 0.6121 MB / 1.381 GB, free: 3.117 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009963/1.44, allocations: 0.4971 MB / 1.382 GB, free: 2.867 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008324/1.44, allocations: 0.5233 MB / 1.382 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/1.441, allocations: 121.2 kB / 1.383 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/1.442, allocations: 493.1 kB / 1.383 GB, free: 2.434 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003097/1.442, allocations: 310.5 kB / 1.383 GB, free: 2.188 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006619/1.443, allocations: 0.5837 MB / 1.384 GB, free: 1.762 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002633/1.446, allocations: 1.696 MB / 1.386 GB, free: 0.543 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/1.446, allocations: 0 / 1.386 GB, free: 0.543 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.665e-06/1.446, allocations: 4 kB / 1.386 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.045e-05/1.446, allocations: 1.031 kB / 1.386 GB, free: 0.5391 MB / 1.076 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.003028/1.449, allocations: 1.525 MB / 1.387 GB, free: 15.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.449, allocations: 10.19 kB / 1.387 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/1.45, allocations: 199.2 kB / 1.387 GB, free: 15.24 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/1.451, allocations: 0.7918 MB / 1.388 GB, free: 14.59 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/1.451, allocations: 65.09 kB / 1.388 GB, free: 14.56 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/1.451, allocations: 91.59 kB / 1.388 GB, free: 14.54 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.453, allocations: 0.9492 MB / 1.389 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/1.453, allocations: 4.625 kB / 1.389 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.763e-05/1.454, allocations: 40.98 kB / 1.389 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/1.454, allocations: 22.12 kB / 1.389 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/1.456, allocations: 1.133 MB / 1.39 GB, free: 13.35 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.005161/1.461, allocations: 2.78 MB / 1.393 GB, free: 11.14 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/1.463, allocations: 0.8526 MB / 1.394 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/1.464, allocations: 328.6 kB / 1.394 GB, free: 10.53 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.749e-05/1.464, allocations: 30.56 kB / 1.394 GB, free: 10.52 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/1.465, allocations: 0.5063 MB / 1.395 GB, free: 10.19 MB / 1.092 GB Notification: Performance of pre-optimization done (n=85): time 2.725e-06/1.465, allocations: 1.062 kB / 1.395 GB, free: 10.19 MB / 1.092 GB Notification: Performance of matching and sorting (n=85): time 0.003466/1.468, allocations: 1.251 MB / 1.396 GB, free: 9.508 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.468, allocations: 193.6 kB / 1.396 GB, free: 9.285 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/1.469, allocations: 0.6522 MB / 1.397 GB, free: 8.906 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/1.469, allocations: 42.39 kB / 1.397 GB, free: 8.863 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/1.47, allocations: 419.2 kB / 1.397 GB, free: 8.496 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/1.47, allocations: 296.3 kB / 1.397 GB, free: 8.238 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/1.47, allocations: 166 kB / 1.398 GB, free: 8.137 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001999/1.47, allocations: 390.7 kB / 1.398 GB, free: 7.766 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/1.471, allocations: 276.6 kB / 1.398 GB, free: 7.633 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/1.472, allocations: 383.1 kB / 1.399 GB, free: 7.414 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.473, allocations: 0.6249 MB / 1.399 GB, free: 7.078 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.473, allocations: 1.375 kB / 1.399 GB, free: 7.078 MB / 1.092 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002085/1.475, allocations: 0.8901 MB / 1.4 GB, free: 6.625 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.475, allocations: 11.81 kB / 1.4 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.475, allocations: 0 / 1.4 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/1.476, allocations: 85.7 kB / 1.4 GB, free: 6.578 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/1.476, allocations: 173.6 kB / 1.4 GB, free: 6.535 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/1.479, allocations: 1.629 MB / 1.402 GB, free: 4.938 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008069/1.479, allocations: 99.08 kB / 1.402 GB, free: 4.871 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/1.48, allocations: 40 kB / 1.402 GB, free: 4.855 MB / 1.092 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.0004581/1.48, allocations: 271.4 kB / 1.402 GB, free: 4.645 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/1.48, allocations: 93.5 kB / 1.402 GB, free: 4.594 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/1.483, allocations: 1.096 MB / 1.403 GB, free: 3.988 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.483, allocations: 9.594 kB / 1.403 GB, free: 3.988 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.483, allocations: 0 / 1.403 GB, free: 3.988 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.483, allocations: 3.984 kB / 1.403 GB, free: 3.984 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/1.484, allocations: 0.9254 MB / 1.404 GB, free: 3.281 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.484, allocations: 3.938 kB / 1.404 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/1.484, allocations: 162 kB / 1.405 GB, free: 3.238 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/1.485, allocations: 73.02 kB / 1.405 GB, free: 3.199 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/1.485, allocations: 28.94 kB / 1.405 GB, free: 3.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.487, allocations: 1.658 MB / 1.406 GB, free: 1.559 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.487, allocations: 3.984 kB / 1.406 GB, free: 1.555 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/1.489, allocations: 1.372 MB / 1.408 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/1.49, allocations: 285 kB / 1.408 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.49, allocations: 26.36 kB / 1.408 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/1.491, allocations: 61.91 kB / 1.408 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.491, allocations: 80.83 kB / 1.408 GB, free: 492 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/1.491, allocations: 30.55 kB / 1.408 GB, free: 484 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005726/1.491, allocations: 475.9 kB / 1.409 GB, free: 204 kB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.491, allocations: 0 / 1.409 GB, free: 204 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009199/1.492, allocations: 333.8 kB / 1.409 GB, free: 112 kB / 1.092 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.00137/1.494, allocations: 0.6124 MB / 1.409 GB, free: 15.82 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001691/1.495, allocations: 0.8582 MB / 1.41 GB, free: 15.37 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.495, allocations: 0 / 1.41 GB, free: 15.37 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008899/1.496, allocations: 0.5324 MB / 1.411 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.498, allocations: 319.1 kB / 1.411 GB, free: 14.91 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/1.501, allocations: 1.873 MB / 1.413 GB, free: 13.79 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/1.501, allocations: 1.039 MB / 1.414 GB, free: 12.83 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007844/1.502, allocations: 262.9 kB / 1.414 GB, free: 12.57 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.502, allocations: 103.4 kB / 1.414 GB, free: 12.47 MB / 1.107 GB Notification: Performance of SimCode: time 6.91e-07/1.502, allocations: 0 / 1.414 GB, free: 12.47 MB / 1.107 GB Notification: Performance of Templates: time 0.02504/1.528, allocations: 15.58 MB / 1.43 GB, free: 13.05 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches