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.0013/0.0013, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001363/0.001364, allocations: 177.3 kB / 15.94 MB, free: 228 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.299/1.299, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003693, allocations: 8 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8227, allocations: 153.7 MB / 1.021 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.159/0.9817, allocations: 132.5 MB / 1.15 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02408/1.006, allocations: 18.35 MB / 1.168 GB, free: 9.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/1.008, allocations: 47.69 kB / 1.168 GB, free: 9.938 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002525/1.011, allocations: 1.363 MB / 1.17 GB, free: 8.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005452/1.016, allocations: 1.862 MB / 1.171 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004018/1.02, allocations: 1.045 MB / 1.172 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001999/1.022, allocations: 0.8746 MB / 1.173 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006817/1.023, allocations: 0.4949 MB / 1.174 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005627/1.023, allocations: 454.6 kB / 1.174 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007803/1.024, allocations: 0.7052 MB / 1.175 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/1.024, allocations: 28 kB / 1.175 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/1.024, allocations: 63.8 kB / 1.175 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/1.025, allocations: 283.1 kB / 1.175 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/1.025, allocations: 209 kB / 1.175 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007331/1.026, allocations: 0.8906 MB / 1.176 GB, free: 1.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.026, allocations: 0 / 1.176 GB, free: 1.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/1.026, allocations: 0 / 1.176 GB, free: 1.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.026, allocations: 0 / 1.176 GB, free: 1.68 MB / 0.92 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.002045/1.028, allocations: 1.339 MB / 1.178 GB, free: 296 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.028, allocations: 15.98 kB / 1.178 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/1.028, allocations: 130.4 kB / 1.178 GB, free: 148 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/1.029, allocations: 0.6012 MB / 1.178 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/1.029, allocations: 78.69 kB / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/1.029, allocations: 43.95 kB / 1.178 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/1.03, allocations: 0.5224 MB / 1.179 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.03, allocations: 0 / 1.179 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/1.03, allocations: 27.97 kB / 1.179 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.03, allocations: 12 kB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/1.031, allocations: 427.7 kB / 1.179 GB, free: 14.37 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.003402/1.034, allocations: 2.85 MB / 1.182 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009626/1.035, allocations: 493.3 kB / 1.183 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/1.035, allocations: 4.328 kB / 1.183 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005313/1.036, allocations: 306.2 kB / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=45): time 2.455e-06/1.036, allocations: 0 / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.002898/1.039, allocations: 1.3 MB / 1.184 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/1.039, allocations: 55.41 kB / 1.184 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/1.04, allocations: 1.748 MB / 1.186 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/1.041, allocations: 45.69 kB / 1.186 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/1.041, allocations: 0.5101 MB / 1.186 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.041, allocations: 150 kB / 1.187 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/1.041, allocations: 12 kB / 1.187 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.041, allocations: 326 kB / 1.187 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/1.042, allocations: 237 kB / 1.187 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/1.042, allocations: 340.8 kB / 1.187 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/1.043, allocations: 271.1 kB / 1.188 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.043, allocations: 0 / 1.188 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001578/1.044, allocations: 0.8844 MB / 1.189 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.044, allocations: 8 kB / 1.189 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.044, allocations: 4 kB / 1.189 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/1.045, allocations: 202.5 kB / 1.189 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/1.045, allocations: 95.81 kB / 1.189 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/1.049, allocations: 2.895 MB / 1.192 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/1.049, allocations: 87.55 kB / 1.192 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/1.049, allocations: 23.94 kB / 1.192 GB, free: 1.051 MB / 0.9356 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 ($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 (49): * Single equations (assignments): 48 * 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 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005235/1.05, allocations: 387.3 kB / 1.192 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/1.05, allocations: 118.5 kB / 1.192 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/1.05, allocations: 143.7 kB / 1.192 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.05, allocations: 4 kB / 1.192 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/1.05, allocations: 4 kB / 1.192 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.05, allocations: 0 / 1.192 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/1.053, allocations: 1.593 MB / 1.194 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.053, allocations: 3.938 kB / 1.194 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/1.053, allocations: 55.91 kB / 1.194 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/1.053, allocations: 204.2 kB / 1.194 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/1.053, allocations: 11.98 kB / 1.194 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/1.057, allocations: 4.111 MB / 1.198 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.057, allocations: 0 / 1.198 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/1.059, allocations: 1.096 MB / 1.199 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/1.059, allocations: 231.5 kB / 1.2 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.059, allocations: 19.98 kB / 1.2 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/1.06, allocations: 35.97 kB / 1.2 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.06, allocations: 55.91 kB / 1.2 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/1.06, allocations: 15.98 kB / 1.2 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001684/1.062, allocations: 1.281 MB / 1.201 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.062, allocations: 0 / 1.201 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001035/1.063, allocations: 211.7 kB / 1.201 GB, free: 7.105 MB / 0.9512 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 (27): * Single equations (assignments): 19 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/1.064, allocations: 481.4 kB / 1.202 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001739/1.066, allocations: 0.7559 MB / 1.202 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.066, allocations: 0 / 1.202 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/1.067, allocations: 0.5677 MB / 1.203 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008863/1.068, allocations: 183.8 kB / 1.203 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/1.072, allocations: 2.662 MB / 1.206 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/1.072, allocations: 1.181 MB / 1.207 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003031/1.073, allocations: 88.77 kB / 1.207 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/1.073, allocations: 43.44 kB / 1.207 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of SimCode: time 7.71e-07/1.073, allocations: 3.938 kB / 1.207 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of Templates: time 0.01829/1.091, allocations: 9.483 MB / 1.216 GB, free: 7.887 MB / 0.9669 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","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches