Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001609/0.00161, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.678/1.678, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 72.8 kB / 0.9245 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7765, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1991/0.9756, allocations: 157.9 MB / 1.237 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02968/1.005, allocations: 22.14 MB / 1.259 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/1.008, allocations: 63.62 kB / 1.259 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/1.01, allocations: 1.375 MB / 1.26 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/1.012, allocations: 1.019 MB / 1.261 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/1.014, allocations: 0.6482 MB / 1.262 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002241/1.016, allocations: 1.677 MB / 1.263 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/1.017, allocations: 0.9687 MB / 1.264 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/1.018, allocations: 0.732 MB / 1.265 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/1.02, allocations: 1.195 MB / 1.266 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/1.02, allocations: 88 kB / 1.266 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/1.02, allocations: 140 kB / 1.266 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004182/1.021, allocations: 416.3 kB / 1.267 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006826/1.022, allocations: 0.6519 MB / 1.268 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/1.023, allocations: 1.568 MB / 1.269 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.023, allocations: 4 kB / 1.269 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.023, allocations: 0 / 1.269 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.449e-05/1.023, allocations: 0 / 1.269 GB, free: 15.77 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003295/1.027, allocations: 1.913 MB / 1.271 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.027, allocations: 12.03 kB / 1.271 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/1.027, allocations: 190.6 kB / 1.271 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.028, allocations: 0.8749 MB / 1.272 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/1.029, allocations: 83 kB / 1.272 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/1.029, allocations: 64 kB / 1.272 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/1.03, allocations: 0.7254 MB / 1.273 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/1.03, allocations: 0 / 1.273 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/1.03, allocations: 24 kB / 1.273 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/1.03, allocations: 19.94 kB / 1.273 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/1.032, allocations: 0.5476 MB / 1.273 GB, free: 11.19 MB / 0.9981 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.005383/1.037, allocations: 3.632 MB / 1.277 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/1.038, allocations: 0.612 MB / 1.278 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000819/1.039, allocations: 370.3 kB / 1.278 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/1.039, allocations: 4.562 kB / 1.278 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007888/1.04, allocations: 386.9 kB / 1.278 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 3.276e-06/1.04, allocations: 0 / 1.278 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.00536/1.045, allocations: 1.777 MB / 1.28 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/1.046, allocations: 59.97 kB / 1.28 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/1.048, allocations: 2.259 MB / 1.282 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.519e-05/1.048, allocations: 41.7 kB / 1.282 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007067/1.049, allocations: 0.7109 MB / 1.283 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/1.049, allocations: 224.9 kB / 1.283 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/1.05, allocations: 130.7 kB / 1.283 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.05, allocations: 334 kB / 1.284 GB, free: 280 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/1.051, allocations: 277.8 kB / 1.284 GB, free: 0 / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000841/1.051, allocations: 416.8 kB / 1.284 GB, free: 15.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/1.053, allocations: 0.6653 MB / 1.285 GB, free: 14.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.053, allocations: 0 / 1.285 GB, free: 14.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002586/1.055, allocations: 1.124 MB / 1.286 GB, free: 13.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.055, allocations: 8 kB / 1.286 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.055, allocations: 4 kB / 1.286 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009018/1.056, allocations: 270.9 kB / 1.286 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/1.057, allocations: 123.8 kB / 1.286 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006086/1.063, allocations: 3.718 MB / 1.29 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/1.064, allocations: 83.39 kB / 1.29 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/1.064, allocations: 35.94 kB / 1.29 GB, free: 9.332 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007115/1.064, allocations: 459.8 kB / 1.291 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/1.065, allocations: 158 kB / 1.291 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/1.065, allocations: 191.7 kB / 1.291 GB, free: 8.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.065, allocations: 8 kB / 1.291 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.065, allocations: 3.938 kB / 1.291 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.065, allocations: 3.984 kB / 1.291 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/1.069, allocations: 2.037 MB / 1.293 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.069, allocations: 3.938 kB / 1.293 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/1.069, allocations: 55.91 kB / 1.293 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000821/1.07, allocations: 279.3 kB / 1.293 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/1.07, allocations: 23.98 kB / 1.293 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006826/1.077, allocations: 5.239 MB / 1.298 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.077, allocations: 0 / 1.298 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/1.08, allocations: 1.397 MB / 1.3 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/1.08, allocations: 270.9 kB / 1.3 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/1.08, allocations: 12 kB / 1.3 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/1.081, allocations: 39.95 kB / 1.3 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.081, allocations: 68.33 kB / 1.3 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/1.081, allocations: 23.98 kB / 1.3 GB, free: 14.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002021/1.083, allocations: 1.631 MB / 1.302 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.083, allocations: 0 / 1.302 GB, free: 13.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001028/1.084, allocations: 279.4 kB / 1.302 GB, free: 12.78 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001845/1.086, allocations: 494.1 kB / 1.303 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002363/1.088, allocations: 0.9498 MB / 1.303 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.088, allocations: 0.5 kB / 1.303 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.09, allocations: 0.6787 MB / 1.304 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.091, allocations: 287 kB / 1.304 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.096, allocations: 3.173 MB / 1.307 GB, free: 7.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.098, allocations: 1.311 MB / 1.309 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/1.098, allocations: 59.42 kB / 1.309 GB, free: 5.934 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/1.098, allocations: 0 / 1.309 GB, free: 5.934 MB / 1.029 GB Notification: Performance of Templates: time 0.03569/1.133, allocations: 23.64 MB / 1.332 GB, free: 14.34 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time