Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001189, allocations: 106.6 kB / 16.37 MB, free: 6.008 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.001209/0.001209, allocations: 193.9 kB / 17.3 MB, free: 5.617 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.213/1.213, 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 9.1.2-maint.9.1.x/package.mo): time 1.994/1.994, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 66.45 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2342, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5274/0.7617, allocations: 156.7 MB / 1.104 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.7828, allocations: 21.74 MB / 1.125 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.7854, allocations: 52.81 kB / 1.125 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.7872, allocations: 1.16 MB / 1.127 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.7887, allocations: 0.86 MB / 1.127 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.7898, allocations: 444.7 kB / 1.128 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.791, allocations: 1.255 MB / 1.129 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.7918, allocations: 0.6882 MB / 1.13 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.7924, allocations: 0.5531 MB / 1.13 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.7935, allocations: 0.9128 MB / 1.131 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.7936, allocations: 67.2 kB / 1.131 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.7938, allocations: 114.4 kB / 1.131 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.7941, allocations: 313.3 kB / 1.132 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.7944, allocations: 494 kB / 1.132 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009425/0.7954, allocations: 1.197 MB / 1.133 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.7954, allocations: 2.125 kB / 1.133 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7954, allocations: 0 / 1.133 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.7954, allocations: 0 / 1.133 GB, free: 6.754 MB / 0.8575 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.002075/0.7975, allocations: 1.484 MB / 1.135 GB, free: 21.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.7975, allocations: 9.125 kB / 1.135 GB, free: 21.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.7977, allocations: 137.2 kB / 1.135 GB, free: 21.81 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007956/0.7985, allocations: 0.6597 MB / 1.136 GB, free: 21.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.7986, allocations: 71.56 kB / 1.136 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.7987, allocations: 53.41 kB / 1.136 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008237/0.7996, allocations: 0.5177 MB / 1.136 GB, free: 21.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.7996, allocations: 4.562 kB / 1.136 GB, free: 21.32 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.7996, allocations: 18.64 kB / 1.136 GB, free: 21.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.7997, allocations: 12.41 kB / 1.136 GB, free: 21.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.8004, allocations: 411.2 kB / 1.137 GB, free: 21.32 MB / 0.8731 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.003123/0.8035, allocations: 2.728 MB / 1.139 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/0.8043, allocations: 445.6 kB / 1.14 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.8049, allocations: 311.9 kB / 1.14 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.8049, allocations: 5.297 kB / 1.14 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.8054, allocations: 285.2 kB / 1.14 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.8054, allocations: 0 / 1.14 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002317/0.8077, allocations: 1.146 MB / 1.141 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.8078, allocations: 60.31 kB / 1.141 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.8097, allocations: 1.759 MB / 1.143 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.8098, allocations: 39.7 kB / 1.143 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.8101, allocations: 0.5318 MB / 1.144 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.693e-05/0.8102, allocations: 136.8 kB / 1.144 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.8104, allocations: 99.94 kB / 1.144 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8105, allocations: 333.3 kB / 1.144 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.8109, allocations: 208.6 kB / 1.144 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.8114, allocations: 342.3 kB / 1.145 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.8121, allocations: 0.5138 MB / 1.145 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.8122, allocations: 1.438 kB / 1.145 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001327/0.8135, allocations: 0.8078 MB / 1.146 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.8135, allocations: 10.09 kB / 1.146 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.8135, allocations: 5.5 kB / 1.146 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.8139, allocations: 134.3 kB / 1.146 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.8142, allocations: 103.6 kB / 1.146 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.8166, allocations: 2.606 MB / 1.149 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.8171, allocations: 75.52 kB / 1.149 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.8171, allocations: 23.11 kB / 1.149 GB, free: 15.35 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004409/0.8175, allocations: 388.4 kB / 1.149 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.8177, allocations: 115.5 kB / 1.149 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.8179, allocations: 146.2 kB / 1.15 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.8179, allocations: 5.516 kB / 1.15 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.8179, allocations: 4.156 kB / 1.15 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.8179, allocations: 2.906 kB / 1.15 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.8199, allocations: 1.489 MB / 1.151 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8199, allocations: 1.969 kB / 1.151 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.8202, allocations: 45.19 kB / 1.151 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000325/0.8205, allocations: 160.9 kB / 1.151 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.8205, allocations: 11.73 kB / 1.151 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.8236, allocations: 4.033 MB / 1.155 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8236, allocations: 0.9688 kB / 1.155 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.825, allocations: 0.9904 MB / 1.156 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.8253, allocations: 207.9 kB / 1.156 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.8254, allocations: 17 kB / 1.156 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.8257, allocations: 32.58 kB / 1.156 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.8258, allocations: 55.5 kB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.8258, allocations: 14.59 kB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001144/0.827, allocations: 1.294 MB / 1.158 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.827, allocations: 0 / 1.158 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006358/0.8276, allocations: 197.3 kB / 1.158 GB, free: 9.637 MB / 0.8731 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,12,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.000976/0.8286, allocations: 487.3 kB / 1.158 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.8297, allocations: 0.6701 MB / 1.159 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.8297, allocations: 0 / 1.159 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.8304, allocations: 0.5219 MB / 1.16 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.8313, allocations: 209.2 kB / 1.16 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.8342, allocations: 2.359 MB / 1.162 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.8349, allocations: 1.15 MB / 1.163 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.8352, allocations: 87.88 kB / 1.163 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.8353, allocations: 51.42 kB / 1.163 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of SimCode: time 8.91e-07/0.8353, allocations: 0 / 1.163 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of Templates: time 0.015/0.8503, allocations: 10.02 MB / 1.173 GB, free: 5.637 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches