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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001089/0.001089, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.001095/0.001096, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.22 kB / 0.8694 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.7259/1.05, allocations: 154.6 MB / 1.168 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02839/1.079, allocations: 21.49 MB / 1.189 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/1.082, allocations: 50.81 kB / 1.189 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/1.084, allocations: 1.127 MB / 1.191 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/1.085, allocations: 0.8211 MB / 1.191 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/1.087, allocations: 389.8 kB / 1.192 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001769/1.089, allocations: 1.248 MB / 1.193 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/1.09, allocations: 0.6894 MB / 1.194 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/1.091, allocations: 0.561 MB / 1.194 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/1.092, allocations: 0.9553 MB / 1.195 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002339/1.093, allocations: 65.44 kB / 1.195 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/1.093, allocations: 109.2 kB / 1.195 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004047/1.094, allocations: 337.3 kB / 1.196 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007304/1.094, allocations: 490 kB / 1.196 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/1.095, allocations: 0.93 MB / 1.197 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.095, allocations: 0 / 1.197 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.402e-06/1.095, allocations: 3.938 kB / 1.197 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.813e-05/1.095, allocations: 0 / 1.197 GB, free: 13.01 MB / 0.9044 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.002781/1.098, allocations: 1.478 MB / 1.198 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.098, allocations: 10.77 kB / 1.198 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/1.099, allocations: 133 kB / 1.199 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009786/1.1, allocations: 0.6586 MB / 1.199 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/1.1, allocations: 72 kB / 1.199 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.1, allocations: 44.81 kB / 1.199 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.101, allocations: 0.5204 MB / 1.2 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/1.101, allocations: 2.75 kB / 1.2 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/1.101, allocations: 26.08 kB / 1.2 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.101, allocations: 12.47 kB / 1.2 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/1.102, allocations: 410.7 kB / 1.2 GB, free: 10.61 MB / 0.9044 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.003802/1.106, allocations: 2.805 MB / 1.203 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009905/1.107, allocations: 459.8 kB / 1.203 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/1.107, allocations: 276.3 kB / 1.204 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/1.107, allocations: 5.531 kB / 1.204 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005446/1.108, allocations: 317.2 kB / 1.204 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 2.485e-06/1.108, allocations: 0 / 1.204 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.002871/1.111, allocations: 1.232 MB / 1.205 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.111, allocations: 60.09 kB / 1.205 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/1.113, allocations: 1.757 MB / 1.207 GB, free: 6 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/1.113, allocations: 42.67 kB / 1.207 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/1.113, allocations: 0.5212 MB / 1.208 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.113, allocations: 153.8 kB / 1.208 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.113, allocations: 92.31 kB / 1.208 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.113, allocations: 322.4 kB / 1.208 GB, free: 5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/1.114, allocations: 222.5 kB / 1.208 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/1.114, allocations: 323.9 kB / 1.209 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/1.115, allocations: 0.5114 MB / 1.209 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.115, allocations: 0 / 1.209 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001565/1.117, allocations: 0.8507 MB / 1.21 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.117, allocations: 4.406 kB / 1.21 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.117, allocations: 7.125 kB / 1.21 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/1.117, allocations: 190.2 kB / 1.21 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/1.118, allocations: 91.5 kB / 1.21 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/1.121, allocations: 3.002 MB / 1.213 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/1.122, allocations: 79.55 kB / 1.213 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/1.122, allocations: 20 kB / 1.213 GB, free: 0.8906 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: 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.0004675/1.122, allocations: 384.2 kB / 1.214 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/1.122, allocations: 122.4 kB / 1.214 GB, free: 392 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/1.123, allocations: 143.7 kB / 1.214 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.123, allocations: 4 kB / 1.214 GB, free: 240 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.123, allocations: 0 / 1.214 GB, free: 240 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/1.123, allocations: 7.984 kB / 1.214 GB, free: 232 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/1.125, allocations: 1.563 MB / 1.215 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.125, allocations: 0 / 1.215 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/1.125, allocations: 39.97 kB / 1.215 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/1.126, allocations: 212.3 kB / 1.216 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/1.126, allocations: 15.98 kB / 1.216 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004202/1.13, allocations: 4.549 MB / 1.22 GB, free: 9.516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.13, allocations: 144 / 1.22 GB, free: 9.516 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/1.132, allocations: 1.064 MB / 1.221 GB, free: 8.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/1.132, allocations: 215.5 kB / 1.221 GB, free: 8.199 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.132, allocations: 12 kB / 1.221 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/1.133, allocations: 35.95 kB / 1.221 GB, free: 8.152 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.133, allocations: 51.94 kB / 1.221 GB, free: 8.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/1.133, allocations: 19.98 kB / 1.221 GB, free: 8.082 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001312/1.134, allocations: 1.277 MB / 1.223 GB, free: 6.801 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.51e-07/1.134, allocations: 3.938 kB / 1.223 GB, free: 6.797 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007832/1.135, allocations: 211.6 kB / 1.223 GB, free: 6.59 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: 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.001127/1.136, allocations: 485.3 kB / 1.223 GB, free: 6.293 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001557/1.138, allocations: 0.7546 MB / 1.224 GB, free: 5.523 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.138, allocations: 0 / 1.224 GB, free: 5.523 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008563/1.139, allocations: 0.5594 MB / 1.225 GB, free: 4.938 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/1.14, allocations: 205.3 kB / 1.225 GB, free: 4.746 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/1.143, allocations: 2.753 MB / 1.228 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/1.144, allocations: 1.146 MB / 1.229 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/1.144, allocations: 47.42 kB / 1.229 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of SimCode: time 4.31e-07/1.144, allocations: 0 / 1.229 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of Templates: time 0.02446/1.169, allocations: 17.83 MB / 1.246 GB, free: 14.95 MB / 0.9512 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