Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001096/0.001097, allocations: 197.6 kB / 16.26 MB, free: 6.629 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.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.246/2.246, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7949, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2041/0.999, allocations: 154.9 MB / 1.1 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03079/1.03, allocations: 21.62 MB / 1.121 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/1.033, allocations: 47.75 kB / 1.122 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/1.036, allocations: 1.31 MB / 1.123 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002515/1.038, allocations: 0.9306 MB / 1.124 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/1.041, allocations: 451 kB / 1.124 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002696/1.043, allocations: 1.434 MB / 1.126 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/1.045, allocations: 0.783 MB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/1.047, allocations: 0.6581 MB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/1.048, allocations: 1.148 MB / 1.128 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002802/1.049, allocations: 72 kB / 1.128 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/1.049, allocations: 116 kB / 1.128 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003969/1.05, allocations: 392.5 kB / 1.129 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006108/1.05, allocations: 0.5588 MB / 1.129 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/1.052, allocations: 1.343 MB / 1.13 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.052, allocations: 0 / 1.13 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.535e-06/1.052, allocations: 4 kB / 1.13 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.052, allocations: 0 / 1.13 GB, free: 7.672 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002647/1.054, allocations: 1.691 MB / 1.132 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.054, allocations: 8.031 kB / 1.132 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/1.055, allocations: 159 kB / 1.132 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009683/1.056, allocations: 0.7438 MB / 1.133 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.056, allocations: 82.62 kB / 1.133 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/1.056, allocations: 52 kB / 1.133 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.057, allocations: 0.5691 MB / 1.134 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/1.057, allocations: 0 / 1.134 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/1.057, allocations: 23.98 kB / 1.134 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/1.057, allocations: 16 kB / 1.134 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/1.058, allocations: 439.7 kB / 1.134 GB, free: 3.773 MB / 0.8887 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.003816/1.062, allocations: 3.021 MB / 1.137 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/1.063, allocations: 0.4913 MB / 1.138 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/1.064, allocations: 314.8 kB / 1.138 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/1.064, allocations: 4.375 kB / 1.138 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/1.064, allocations: 337 kB / 1.138 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.896e-06/1.064, allocations: 3.938 kB / 1.138 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.003214/1.067, allocations: 1.344 MB / 1.14 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/1.068, allocations: 67.83 kB / 1.14 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/1.07, allocations: 2.116 MB / 1.142 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/1.07, allocations: 37.7 kB / 1.142 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/1.07, allocations: 0.6245 MB / 1.142 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/1.071, allocations: 165.6 kB / 1.142 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.071, allocations: 106.3 kB / 1.143 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.071, allocations: 334 kB / 1.143 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/1.071, allocations: 233.2 kB / 1.143 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/1.072, allocations: 353.9 kB / 1.143 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009283/1.073, allocations: 0.5444 MB / 1.144 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.073, allocations: 4 kB / 1.144 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001748/1.075, allocations: 0.9155 MB / 1.145 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.075, allocations: 8.484 kB / 1.145 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.075, allocations: 4 kB / 1.145 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/1.075, allocations: 192.8 kB / 1.145 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/1.076, allocations: 103.8 kB / 1.145 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/1.079, allocations: 3.056 MB / 1.148 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/1.08, allocations: 87.42 kB / 1.148 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/1.08, allocations: 28.05 kB / 1.148 GB, free: 4.699 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005971/1.08, allocations: 435.7 kB / 1.149 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.081, allocations: 138.2 kB / 1.149 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/1.081, allocations: 166 kB / 1.149 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.081, allocations: 11.94 kB / 1.149 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.081, allocations: 0 / 1.149 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.081, allocations: 3.984 kB / 1.149 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/1.084, allocations: 1.738 MB / 1.151 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.084, allocations: 0 / 1.151 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/1.084, allocations: 51.91 kB / 1.151 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/1.084, allocations: 204.1 kB / 1.151 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/1.085, allocations: 15.98 kB / 1.151 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004597/1.089, allocations: 4.596 MB / 1.155 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.089, allocations: 8.016 kB / 1.155 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.091, allocations: 1.158 MB / 1.157 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/1.092, allocations: 239.3 kB / 1.157 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/1.092, allocations: 12 kB / 1.157 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/1.092, allocations: 43.95 kB / 1.157 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.092, allocations: 60.3 kB / 1.157 GB, free: 11.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/1.092, allocations: 15.98 kB / 1.157 GB, free: 11.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001651/1.094, allocations: 1.552 MB / 1.158 GB, free: 9.875 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.094, allocations: 0 / 1.158 GB, free: 9.875 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008803/1.095, allocations: 231.6 kB / 1.159 GB, free: 9.648 MB / 0.92 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: 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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.001196/1.096, allocations: 493.7 kB / 1.159 GB, free: 9.348 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00188/1.098, allocations: 0.7997 MB / 1.16 GB, free: 8.535 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.098, allocations: 0 / 1.16 GB, free: 8.535 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009152/1.099, allocations: 0.5859 MB / 1.16 GB, free: 7.922 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/1.1, allocations: 231 kB / 1.161 GB, free: 7.703 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/1.105, allocations: 3.178 MB / 1.164 GB, free: 4.492 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.106, allocations: 1.243 MB / 1.165 GB, free: 3.219 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004492/1.106, allocations: 105.1 kB / 1.165 GB, free: 3.117 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/1.106, allocations: 51.42 kB / 1.165 GB, free: 3.07 MB / 0.92 GB Notification: Performance of SimCode: time 7.51e-07/1.106, allocations: 0 / 1.165 GB, free: 3.07 MB / 0.92 GB Notification: Performance of Templates: time 0.02134/1.128, allocations: 11.21 MB / 1.176 GB, free: 8.012 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches