Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TestCase2,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.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_10_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.001125/0.001125, allocations: 104.1 kB / 15.88 MB, free: 4 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.001311/0.001311, allocations: 196.5 kB / 16.79 MB, free: 6.832 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.56/2.56, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6117, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1696/0.7813, allocations: 154.5 MB / 1.168 GB, free: 7.734 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02528/0.8066, allocations: 21.6 MB / 1.189 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.809, allocations: 47.69 kB / 1.189 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.8109, allocations: 1.13 MB / 1.19 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.8125, allocations: 0.8098 MB / 1.191 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.8138, allocations: 383 kB / 1.192 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.8155, allocations: 1.356 MB / 1.193 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.8166, allocations: 0.61 MB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008949/0.8175, allocations: 498.2 kB / 1.194 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.8187, allocations: 0.9098 MB / 1.195 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.8189, allocations: 36 kB / 1.195 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.8192, allocations: 87.97 kB / 1.195 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.8196, allocations: 304.7 kB / 1.195 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005767/0.8202, allocations: 468.8 kB / 1.196 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009423/0.8211, allocations: 0.9122 MB / 1.197 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8212, allocations: 0 / 1.197 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8212, allocations: 0 / 1.197 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.236e-05/0.8212, allocations: 0 / 1.197 GB, free: 10.54 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002698/0.8239, allocations: 1.482 MB / 1.198 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.824, allocations: 12.03 kB / 1.198 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.8242, allocations: 131.3 kB / 1.198 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.8252, allocations: 0.6588 MB / 1.199 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.8253, allocations: 70.67 kB / 1.199 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/0.8254, allocations: 48 kB / 1.199 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.8265, allocations: 0.5223 MB / 1.199 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.8265, allocations: 0 / 1.199 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.8265, allocations: 16 kB / 1.199 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.8266, allocations: 12 kB / 1.199 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.8275, allocations: 419.7 kB / 1.2 GB, free: 7.055 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.003699/0.8312, allocations: 2.799 MB / 1.203 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009974/0.8322, allocations: 459.3 kB / 1.203 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.8327, allocations: 286.9 kB / 1.203 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.8328, allocations: 4.656 kB / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005485/0.8333, allocations: 301.8 kB / 1.204 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 3.506e-06/0.8333, allocations: 3.984 kB / 1.204 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002856/0.8362, allocations: 1.249 MB / 1.205 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.8363, allocations: 59.41 kB / 1.205 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.838, allocations: 1.748 MB / 1.207 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.8381, allocations: 37.7 kB / 1.207 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.8385, allocations: 0.514 MB / 1.207 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.8386, allocations: 145.9 kB / 1.207 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.8387, allocations: 102.2 kB / 1.207 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8389, allocations: 326 kB / 1.208 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.8393, allocations: 225 kB / 1.208 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.8399, allocations: 320.9 kB / 1.208 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008759/0.8408, allocations: 0.5099 MB / 1.209 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.8408, allocations: 0 / 1.209 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001579/0.8424, allocations: 0.8527 MB / 1.21 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.8424, allocations: 8 kB / 1.21 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8424, allocations: 0 / 1.21 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.8429, allocations: 185.9 kB / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.8433, allocations: 96 kB / 1.21 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.8465, allocations: 2.747 MB / 1.212 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.847, allocations: 83.55 kB / 1.213 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.847, allocations: 20 kB / 1.213 GB, free: 9.441 MB / 0.9669 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.0004559/0.8475, allocations: 383.3 kB / 1.213 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.8476, allocations: 118.5 kB / 1.213 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.8478, allocations: 143.6 kB / 1.213 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.8478, allocations: 4 kB / 1.213 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.8479, allocations: 4 kB / 1.213 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.8479, allocations: 3.984 kB / 1.213 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.8503, allocations: 1.559 MB / 1.215 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8503, allocations: 0 / 1.215 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.8505, allocations: 55.95 kB / 1.215 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.851, allocations: 185.6 kB / 1.215 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.851, allocations: 11.98 kB / 1.215 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00405/0.8551, allocations: 4.135 MB / 1.219 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8551, allocations: 0 / 1.219 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.857, allocations: 1.057 MB / 1.22 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.8572, allocations: 215.5 kB / 1.22 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.8573, allocations: 11.98 kB / 1.22 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.8576, allocations: 39.97 kB / 1.22 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.8578, allocations: 55.8 kB / 1.22 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.8578, allocations: 15.98 kB / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001328/0.8592, allocations: 1.284 MB / 1.222 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8592, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008158/0.86, allocations: 215.7 kB / 1.222 GB, free: 15.57 MB / 0.9825 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.001141/0.8612, allocations: 487.2 kB / 1.222 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.8626, allocations: 0.7284 MB / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8626, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008427/0.8635, allocations: 0.5478 MB / 1.224 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.8645, allocations: 188.3 kB / 1.224 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.8686, allocations: 2.751 MB / 1.226 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/0.8695, allocations: 1.146 MB / 1.228 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.8696, allocations: 43.42 kB / 1.228 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of SimCode: time 8.22e-07/0.8696, allocations: 0 / 1.228 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of Templates: time 0.02645/0.8961, allocations: 17.82 MB / 1.245 GB, free: 8.004 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches