Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000998/0.0009981, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001245/0.001245, allocations: 168.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.418 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.643/2.643, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003678, allocations: 8 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7829, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1665/0.9495, allocations: 142.2 MB / 1.161 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03101/0.9805, allocations: 20.23 MB / 1.181 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.9823, allocations: 47.69 kB / 1.181 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.9838, allocations: 1.099 MB / 1.182 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.9851, allocations: 0.7825 MB / 1.183 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.9862, allocations: 339 kB / 1.183 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.9874, allocations: 1.189 MB / 1.184 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006408/0.9881, allocations: 0.4948 MB / 1.185 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/0.9886, allocations: 478.4 kB / 1.185 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009549/0.9896, allocations: 0.7811 MB / 1.186 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.372e-05/0.9897, allocations: 28 kB / 1.186 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.9899, allocations: 63.98 kB / 1.186 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.9902, allocations: 287 kB / 1.186 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.9904, allocations: 213 kB / 1.187 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008513/0.9912, allocations: 0.8924 MB / 1.188 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9913, allocations: 4 kB / 1.188 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9913, allocations: 0 / 1.188 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.9913, allocations: 0 / 1.188 GB, free: 6.465 MB / 0.9356 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.00208/0.9934, allocations: 1.331 MB / 1.189 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.9934, allocations: 8.562 kB / 1.189 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.9936, allocations: 130.4 kB / 1.189 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.9944, allocations: 0.5973 MB / 1.19 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.9946, allocations: 90.55 kB / 1.19 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.9947, allocations: 55.94 kB / 1.19 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.9956, allocations: 0.5224 MB / 1.19 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.9957, allocations: 0 / 1.19 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.9957, allocations: 20 kB / 1.19 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.9957, allocations: 8 kB / 1.19 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.9965, allocations: 435.7 kB / 1.191 GB, free: 3.156 MB / 0.9356 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.003317/0.9999, allocations: 2.774 MB / 1.193 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009407/1.001, allocations: 459.9 kB / 1.194 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/1.001, allocations: 318.7 kB / 1.194 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/1.001, allocations: 8.312 kB / 1.194 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/1.002, allocations: 291.7 kB / 1.194 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/1.002, allocations: 0 / 1.194 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002483/1.004, allocations: 1.18 MB / 1.196 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.005, allocations: 55.41 kB / 1.196 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.006, allocations: 1.76 MB / 1.197 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/1.006, allocations: 37.7 kB / 1.197 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/1.007, allocations: 0.5249 MB / 1.198 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/1.007, allocations: 150 kB / 1.198 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/1.007, allocations: 12 kB / 1.198 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.007, allocations: 326 kB / 1.198 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/1.008, allocations: 233 kB / 1.199 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/1.008, allocations: 347.2 kB / 1.199 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/1.009, allocations: 269.6 kB / 1.199 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/1.009, allocations: 4 kB / 1.199 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001462/1.01, allocations: 0.8285 MB / 1.2 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.01, allocations: 8.219 kB / 1.2 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/1.01, allocations: 8 kB / 1.2 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/1.011, allocations: 140.6 kB / 1.2 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/1.011, allocations: 115.9 kB / 1.2 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/1.014, allocations: 2.387 MB / 1.203 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/1.014, allocations: 91.39 kB / 1.203 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/1.014, allocations: 24.06 kB / 1.203 GB, free: 6.332 MB / 0.9512 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004833/1.015, allocations: 391.2 kB / 1.203 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/1.015, allocations: 118.5 kB / 1.203 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/1.015, allocations: 139.7 kB / 1.203 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.015, allocations: 8 kB / 1.203 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.015, allocations: 0 / 1.203 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.015, allocations: 0 / 1.203 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/1.017, allocations: 1.527 MB / 1.205 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.017, allocations: 7.938 kB / 1.205 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.017, allocations: 43.97 kB / 1.205 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/1.018, allocations: 165.6 kB / 1.205 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/1.018, allocations: 12 kB / 1.205 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/1.021, allocations: 3.685 MB / 1.209 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.021, allocations: 0 / 1.209 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/1.023, allocations: 1.018 MB / 1.21 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/1.023, allocations: 219.5 kB / 1.21 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.023, allocations: 12 kB / 1.21 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/1.024, allocations: 43.91 kB / 1.21 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.024, allocations: 51.91 kB / 1.21 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/1.024, allocations: 19.98 kB / 1.21 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001365/1.025, allocations: 1.281 MB / 1.211 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/1.025, allocations: 0 / 1.211 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007524/1.026, allocations: 203.6 kB / 1.211 GB, free: 13.03 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/1.027, allocations: 0.4908 MB / 1.212 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.029, allocations: 0.6821 MB / 1.212 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.029, allocations: 3.938 kB / 1.212 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008059/1.029, allocations: 0.5288 MB / 1.213 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/1.03, allocations: 186.7 kB / 1.213 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/1.034, allocations: 2.659 MB / 1.216 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008839/1.035, allocations: 1.149 MB / 1.217 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003427/1.035, allocations: 104.8 kB / 1.217 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.036, allocations: 43.42 kB / 1.217 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of SimCode: time 1.884e-06/1.036, allocations: 4 kB / 1.217 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of Templates: time 0.01791/1.054, allocations: 8.969 MB / 1.226 GB, free: 14.41 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches