Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008726, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005488/0.005488, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.646/2.646, allocations: 443.3 MB / 0.7175 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003311, allocations: 8.469 kB / 0.8796 GB, free: 41.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2864, allocations: 155.2 MB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1531/0.4396, allocations: 152.4 MB / 1.18 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02461/0.4642, allocations: 21.37 MB / 1.201 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.4655, allocations: 47.69 kB / 1.201 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.467, allocations: 1.13 MB / 1.202 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.4682, allocations: 0.8098 MB / 1.203 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.4692, allocations: 386.6 kB / 1.203 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.4704, allocations: 1.341 MB / 1.204 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.4711, allocations: 0.6004 MB / 1.205 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.4717, allocations: 474.3 kB / 1.205 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008713/0.4725, allocations: 0.8903 MB / 1.206 GB, free: 296 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.4726, allocations: 28 kB / 1.206 GB, free: 268 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.4728, allocations: 67.98 kB / 1.206 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.4731, allocations: 292.6 kB / 1.207 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.4734, allocations: 478.5 kB / 1.207 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009129/0.4744, allocations: 1.128 MB / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4744, allocations: 0 / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4744, allocations: 0 / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4744, allocations: 0 / 1.208 GB, free: 14.3 MB / 0.9669 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.0019/0.4763, allocations: 1.32 MB / 1.21 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4763, allocations: 8.031 kB / 1.21 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.4765, allocations: 131.3 kB / 1.21 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.4773, allocations: 0.6589 MB / 1.21 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.4774, allocations: 82.69 kB / 1.21 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.4775, allocations: 40 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/0.4785, allocations: 0.5302 MB / 1.211 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4785, allocations: 0 / 1.211 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.4785, allocations: 20 kB / 1.211 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.4786, allocations: 8 kB / 1.211 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008529/0.4794, allocations: 435.7 kB / 1.211 GB, free: 10.95 MB / 0.9669 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.003437/0.4829, allocations: 2.862 MB / 1.214 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4839, allocations: 477.3 kB / 1.215 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.4845, allocations: 293.3 kB / 1.215 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.4845, allocations: 4.328 kB / 1.215 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000566/0.4851, allocations: 306.5 kB / 1.215 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/0.4851, allocations: 0 / 1.215 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002971/0.4881, allocations: 1.284 MB / 1.216 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.4881, allocations: 63.39 kB / 1.217 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4899, allocations: 1.752 MB / 1.218 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.4899, allocations: 37.7 kB / 1.218 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.4904, allocations: 0.514 MB / 1.219 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4905, allocations: 146 kB / 1.219 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.4906, allocations: 53.69 kB / 1.219 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4907, allocations: 330 kB / 1.219 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.4912, allocations: 233 kB / 1.219 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.4918, allocations: 352.8 kB / 1.22 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009614/0.4927, allocations: 0.5372 MB / 1.22 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4927, allocations: 4 kB / 1.22 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001747/0.4945, allocations: 0.878 MB / 1.221 GB, free: 440 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4945, allocations: 4 kB / 1.221 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4945, allocations: 4 kB / 1.221 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/0.4951, allocations: 184.6 kB / 1.221 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.4955, allocations: 107.9 kB / 1.222 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.4987, allocations: 2.754 MB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.4992, allocations: 91.52 kB / 1.224 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4993, allocations: 20 kB / 1.224 GB, free: 13.14 MB / 0.9825 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.0005/0.4998, allocations: 387.2 kB / 1.225 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4999, allocations: 110.6 kB / 1.225 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.5001, allocations: 147.6 kB / 1.225 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.5002, allocations: 8 kB / 1.225 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.5002, allocations: 7.938 kB / 1.225 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.5002, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.5027, allocations: 1.594 MB / 1.226 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5027, allocations: 4 kB / 1.226 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.5029, allocations: 47.91 kB / 1.227 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.5034, allocations: 209.5 kB / 1.227 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.5035, allocations: 8 kB / 1.227 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004113/0.5076, allocations: 4.127 MB / 1.231 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5076, allocations: 0 / 1.231 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.5095, allocations: 1.08 MB / 1.232 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.5098, allocations: 231.7 kB / 1.232 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/0.5099, allocations: 12 kB / 1.232 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.5103, allocations: 43.95 kB / 1.232 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.5105, allocations: 55.84 kB / 1.232 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.5105, allocations: 15.98 kB / 1.232 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00148/0.512, allocations: 1.277 MB / 1.233 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.512, allocations: 4 kB / 1.233 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008939/0.5129, allocations: 211.7 kB / 1.234 GB, free: 3.195 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.001125/0.514, allocations: 483.8 kB / 1.234 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.5156, allocations: 0.7598 MB / 1.235 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5156, allocations: 4.062 kB / 1.235 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.5166, allocations: 0.5591 MB / 1.235 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5176, allocations: 183.2 kB / 1.236 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.5215, allocations: 2.777 MB / 1.238 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008721/0.5224, allocations: 1.157 MB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.5227, allocations: 88.73 kB / 1.239 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.5229, allocations: 39.42 kB / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.5229, allocations: 0 / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.01907/0.542, allocations: 9.638 MB / 1.249 GB, free: 3.734 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches