Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 110 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.001588/0.001588, 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 63.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8701/0.8716, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1995/1.071, allocations: 156.7 MB / 1.242 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.029/1.1, allocations: 21.74 MB / 1.263 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/1.103, allocations: 59.69 kB / 1.263 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/1.105, allocations: 1.153 MB / 1.264 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/1.107, allocations: 0.8679 MB / 1.265 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/1.109, allocations: 449.2 kB / 1.265 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001903/1.11, allocations: 1.274 MB / 1.267 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/1.112, allocations: 0.6753 MB / 1.267 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/1.113, allocations: 0.5607 MB / 1.268 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/1.114, allocations: 0.9175 MB / 1.269 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/1.114, allocations: 64 kB / 1.269 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/1.115, allocations: 112 kB / 1.269 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003725/1.115, allocations: 320.7 kB / 1.269 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/1.116, allocations: 484.9 kB / 1.27 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/1.117, allocations: 1.201 MB / 1.271 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.117, allocations: 4 kB / 1.271 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.117, allocations: 0 / 1.271 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.29e-05/1.117, allocations: 0 / 1.271 GB, free: 3.129 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002892/1.12, allocations: 1.478 MB / 1.272 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.12, allocations: 8.031 kB / 1.272 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/1.121, allocations: 131.3 kB / 1.272 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/1.122, allocations: 0.6705 MB / 1.273 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/1.122, allocations: 74.69 kB / 1.273 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.44e-05/1.122, allocations: 51.98 kB / 1.273 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.123, allocations: 0.5184 MB / 1.274 GB, free: 72 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.123, allocations: 3.938 kB / 1.274 GB, free: 68 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/1.123, allocations: 16 kB / 1.274 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/1.123, allocations: 11.98 kB / 1.274 GB, free: 40 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009115/1.124, allocations: 411.8 kB / 1.274 GB, free: 15.63 MB / 1.014 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.004025/1.128, allocations: 2.799 MB / 1.277 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/1.129, allocations: 451.8 kB / 1.277 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/1.13, allocations: 285.3 kB / 1.278 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/1.13, allocations: 8.312 kB / 1.278 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006048/1.13, allocations: 298.7 kB / 1.278 GB, free: 11.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/1.131, allocations: 3.938 kB / 1.278 GB, free: 11.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.00316/1.134, allocations: 1.248 MB / 1.279 GB, free: 10.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/1.134, allocations: 59.39 kB / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/1.136, allocations: 1.748 MB / 1.281 GB, free: 8.418 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/1.136, allocations: 33.7 kB / 1.281 GB, free: 8.379 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/1.136, allocations: 0.5179 MB / 1.281 GB, free: 7.859 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/1.137, allocations: 157.9 kB / 1.282 GB, free: 7.703 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.137, allocations: 94.25 kB / 1.282 GB, free: 7.605 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.137, allocations: 326 kB / 1.282 GB, free: 7.281 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/1.137, allocations: 213 kB / 1.282 GB, free: 7.074 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/1.138, allocations: 332.3 kB / 1.282 GB, free: 6.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009962/1.139, allocations: 0.5065 MB / 1.283 GB, free: 6.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.139, allocations: 0 / 1.283 GB, free: 6.168 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001743/1.141, allocations: 0.8489 MB / 1.284 GB, free: 5.309 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.141, allocations: 8 kB / 1.284 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.141, allocations: 0 / 1.284 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/1.141, allocations: 195.4 kB / 1.284 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/1.142, allocations: 87.88 kB / 1.284 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/1.146, allocations: 2.996 MB / 1.287 GB, free: 1.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/1.146, allocations: 71.48 kB / 1.287 GB, free: 1.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/1.146, allocations: 24.06 kB / 1.287 GB, free: 1.789 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005583/1.147, allocations: 383.4 kB / 1.287 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.147, allocations: 118.4 kB / 1.288 GB, free: 1.285 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/1.147, allocations: 139.7 kB / 1.288 GB, free: 1.148 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.147, allocations: 4 kB / 1.288 GB, free: 1.145 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/1.147, allocations: 15.88 kB / 1.288 GB, free: 1.129 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.147, allocations: 3.984 kB / 1.288 GB, free: 1.125 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/1.15, allocations: 1.56 MB / 1.289 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.15, allocations: 0 / 1.289 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/1.15, allocations: 51.89 kB / 1.289 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005019/1.151, allocations: 192.3 kB / 1.289 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/1.151, allocations: 15.98 kB / 1.289 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004891/1.156, allocations: 4.544 MB / 1.294 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.156, allocations: 3.938 kB / 1.294 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/1.158, allocations: 1.059 MB / 1.295 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/1.158, allocations: 215.6 kB / 1.295 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.158, allocations: 16 kB / 1.295 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/1.159, allocations: 23.97 kB / 1.295 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.159, allocations: 59.92 kB / 1.295 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/1.159, allocations: 19.98 kB / 1.295 GB, free: 9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001594/1.161, allocations: 1.28 MB / 1.296 GB, free: 7.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.161, allocations: 0 / 1.296 GB, free: 7.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008635/1.162, allocations: 203.6 kB / 1.297 GB, free: 7.516 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/1.163, allocations: 477.8 kB / 1.297 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001637/1.164, allocations: 0.721 MB / 1.298 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.164, allocations: 0 / 1.298 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/1.165, allocations: 0.56 MB / 1.298 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.166, allocations: 206.8 kB / 1.299 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/1.171, allocations: 2.416 MB / 1.301 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008833/1.172, allocations: 1.146 MB / 1.302 GB, free: 2.082 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/1.172, allocations: 43.44 kB / 1.302 GB, free: 2.043 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.172, allocations: 0 / 1.302 GB, free: 2.043 MB / 1.029 GB Notification: Performance of Templates: time 0.02754/1.199, allocations: 17.9 MB / 1.32 GB, free: 172 kB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches