Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_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_10_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.001417/0.001417, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.326/1.326, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437.1 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 63.91 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5822, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1584/0.7407, allocations: 155.6 MB / 1.169 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02521/0.7659, allocations: 21.97 MB / 1.191 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.7681, allocations: 63.62 kB / 1.191 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.7701, allocations: 1.34 MB / 1.192 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.7721, allocations: 0.9616 MB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.7739, allocations: 0.5801 MB / 1.194 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.7759, allocations: 1.766 MB / 1.195 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.7773, allocations: 0.8709 MB / 1.196 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.7784, allocations: 0.6615 MB / 1.197 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.7799, allocations: 1.179 MB / 1.198 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.7801, allocations: 56 kB / 1.198 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.7805, allocations: 111.9 kB / 1.198 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.7809, allocations: 388.4 kB / 1.198 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007538/0.7817, allocations: 0.6167 MB / 1.199 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.7828, allocations: 1.208 MB / 1.2 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7828, allocations: 0 / 1.2 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7828, allocations: 0 / 1.2 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.729e-05/0.7829, allocations: 0 / 1.2 GB, free: 6.859 MB / 0.9512 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.003501/0.7864, allocations: 1.912 MB / 1.202 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.7865, allocations: 11.97 kB / 1.202 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.7868, allocations: 182.7 kB / 1.202 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.7881, allocations: 0.8711 MB / 1.203 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.7883, allocations: 87 kB / 1.203 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.7884, allocations: 71.89 kB / 1.203 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.7897, allocations: 0.7176 MB / 1.204 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.7897, allocations: 3.984 kB / 1.204 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/0.7898, allocations: 28 kB / 1.204 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.7898, allocations: 16 kB / 1.204 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.7909, allocations: 0.5438 MB / 1.205 GB, free: 2.281 MB / 0.9512 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.004439/0.7953, allocations: 3.621 MB / 1.208 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.7966, allocations: 0.6082 MB / 1.209 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/0.7974, allocations: 378.3 kB / 1.209 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.7974, allocations: 8.562 kB / 1.209 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007123/0.7981, allocations: 378.9 kB / 1.209 GB, free: 13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=65): time 2.565e-06/0.7981, allocations: 0 / 1.209 GB, free: 13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65): time 0.004727/0.8029, allocations: 1.785 MB / 1.211 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.8029, allocations: 59.97 kB / 1.211 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.8055, allocations: 2.262 MB / 1.213 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.8056, allocations: 41.7 kB / 1.213 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007198/0.8063, allocations: 0.7187 MB / 1.214 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.8065, allocations: 213 kB / 1.214 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.8067, allocations: 126.6 kB / 1.215 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8069, allocations: 338 kB / 1.215 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/0.8075, allocations: 273.8 kB / 1.215 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.8082, allocations: 424.8 kB / 1.215 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.8094, allocations: 0.6608 MB / 1.216 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.8094, allocations: 0 / 1.216 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002277/0.8117, allocations: 1.121 MB / 1.217 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.8117, allocations: 10.5 kB / 1.217 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.8118, allocations: 4.219 kB / 1.217 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000842/0.8126, allocations: 267 kB / 1.218 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.8131, allocations: 127.8 kB / 1.218 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.8183, allocations: 3.447 MB / 1.221 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006095/0.8189, allocations: 103.3 kB / 1.221 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.819, allocations: 24 kB / 1.221 GB, free: 0.7031 MB / 0.9669 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.0007814/0.8198, allocations: 464.3 kB / 1.222 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.8201, allocations: 154 kB / 1.222 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.8205, allocations: 195.6 kB / 1.222 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.8205, allocations: 8 kB / 1.222 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.8205, allocations: 4 kB / 1.222 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.8205, allocations: 3.984 kB / 1.222 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.824, allocations: 2.037 MB / 1.224 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.824, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.8243, allocations: 59.91 kB / 1.224 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007777/0.8251, allocations: 277.4 kB / 1.224 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.8251, allocations: 23.92 kB / 1.224 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005479/0.8306, allocations: 4.769 MB / 1.229 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8306, allocations: 0 / 1.229 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.8333, allocations: 1.401 MB / 1.23 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.8337, allocations: 263 kB / 1.231 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.8338, allocations: 19.92 kB / 1.231 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.8343, allocations: 47.95 kB / 1.231 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.8345, allocations: 64.47 kB / 1.231 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.8345, allocations: 23.98 kB / 1.231 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001824/0.8364, allocations: 1.631 MB / 1.232 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8364, allocations: 4 kB / 1.232 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009725/0.8374, allocations: 279.5 kB / 1.233 GB, free: 4.625 MB / 0.9825 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.001186/0.8385, allocations: 484 kB / 1.233 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.8404, allocations: 0.899 MB / 1.234 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8404, allocations: 3.938 kB / 1.234 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.8416, allocations: 0.6753 MB / 1.235 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.8429, allocations: 269 kB / 1.235 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.8481, allocations: 3.615 MB / 1.238 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8491, allocations: 1.314 MB / 1.24 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.8493, allocations: 59.36 kB / 1.24 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.8493, allocations: 0 / 1.24 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.5341/1.383, allocations: 23.62 MB / 1.263 GB, free: 230.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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