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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001767/0.001767, allocations: 108.2 kB / 15.99 MB, free: 6.359 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.001864/0.001864, allocations: 196.3 kB / 16.91 MB, free: 6.199 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 482.4 MB / 0.755 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 64.88 kB / 0.924 GB, free: 328 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8558, allocations: 162.2 MB / 1.082 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2021/1.058, allocations: 154.6 MB / 1.233 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03084/1.089, allocations: 21.5 MB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/1.091, allocations: 47.75 kB / 1.254 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/1.093, allocations: 1.122 MB / 1.256 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/1.095, allocations: 0.8216 MB / 1.256 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/1.096, allocations: 386.6 kB / 1.257 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001823/1.098, allocations: 1.263 MB / 1.258 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/1.099, allocations: 0.685 MB / 1.259 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007652/1.1, allocations: 0.5568 MB / 1.259 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/1.101, allocations: 0.9566 MB / 1.26 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/1.101, allocations: 68 kB / 1.26 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/1.101, allocations: 112 kB / 1.26 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/1.102, allocations: 328.8 kB / 1.261 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005745/1.102, allocations: 496.8 kB / 1.261 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/1.103, allocations: 0.9239 MB / 1.262 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.103, allocations: 0 / 1.262 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/1.103, allocations: 0 / 1.262 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.742e-05/1.103, allocations: 0 / 1.262 GB, free: 6.699 MB / 0.9825 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.002576/1.106, allocations: 1.482 MB / 1.263 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.106, allocations: 8.031 kB / 1.263 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/1.106, allocations: 135.2 kB / 1.264 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/1.107, allocations: 0.6551 MB / 1.264 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.107, allocations: 70.69 kB / 1.264 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/1.107, allocations: 51.92 kB / 1.264 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/1.109, allocations: 0.5262 MB / 1.265 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/1.109, allocations: 0 / 1.265 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/1.109, allocations: 16 kB / 1.265 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/1.109, allocations: 12 kB / 1.265 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/1.11, allocations: 403.7 kB / 1.265 GB, free: 3.227 MB / 0.9825 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.003992/1.114, allocations: 2.819 MB / 1.268 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.115, allocations: 461.9 kB / 1.268 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/1.115, allocations: 281.3 kB / 1.269 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/1.115, allocations: 4.656 kB / 1.269 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000608/1.116, allocations: 305.7 kB / 1.269 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/1.116, allocations: 0 / 1.269 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003029/1.119, allocations: 1.238 MB / 1.27 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.119, allocations: 63.33 kB / 1.27 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/1.121, allocations: 1.752 MB / 1.272 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/1.122, allocations: 37.7 kB / 1.272 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/1.122, allocations: 0.5219 MB / 1.273 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/1.122, allocations: 145.9 kB / 1.273 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/1.122, allocations: 94.25 kB / 1.273 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.123, allocations: 326 kB / 1.273 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/1.123, allocations: 217 kB / 1.273 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/1.124, allocations: 332.9 kB / 1.274 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.125, allocations: 0.5101 MB / 1.274 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.125, allocations: 448 / 1.274 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001733/1.127, allocations: 0.856 MB / 1.275 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.127, allocations: 4 kB / 1.275 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.127, allocations: 8.125 kB / 1.275 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/1.127, allocations: 188.7 kB / 1.275 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/1.127, allocations: 91.88 kB / 1.275 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/1.132, allocations: 2.989 MB / 1.278 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/1.132, allocations: 79.55 kB / 1.278 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/1.132, allocations: 20 kB / 1.278 GB, free: 5.344 MB / 0.9981 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.0005328/1.133, allocations: 392 kB / 1.279 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/1.133, allocations: 126.4 kB / 1.279 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/1.133, allocations: 143.7 kB / 1.279 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.133, allocations: 4 kB / 1.279 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.133, allocations: 8 kB / 1.279 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.133, allocations: 0 / 1.279 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/1.136, allocations: 1.573 MB / 1.28 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.136, allocations: 0 / 1.28 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/1.136, allocations: 43.97 kB / 1.28 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/1.136, allocations: 204 kB / 1.281 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/1.136, allocations: 8 kB / 1.281 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004864/1.141, allocations: 4.555 MB / 1.285 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.141, allocations: 0 / 1.285 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/1.143, allocations: 1.061 MB / 1.286 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/1.144, allocations: 215.5 kB / 1.286 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.144, allocations: 8 kB / 1.286 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/1.144, allocations: 39.89 kB / 1.286 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.144, allocations: 59.86 kB / 1.286 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/1.144, allocations: 20 kB / 1.286 GB, free: 12.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001799/1.146, allocations: 1.277 MB / 1.288 GB, free: 11.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.146, allocations: 0 / 1.288 GB, free: 11.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009659/1.147, allocations: 211.7 kB / 1.288 GB, free: 11.03 MB / 1.014 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.001913/1.149, allocations: 475 kB / 1.288 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001831/1.151, allocations: 0.7541 MB / 1.289 GB, free: 9.973 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.151, allocations: 0 / 1.289 GB, free: 9.973 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009663/1.152, allocations: 0.5596 MB / 1.29 GB, free: 9.387 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.153, allocations: 204.9 kB / 1.29 GB, free: 9.191 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/1.157, allocations: 2.753 MB / 1.293 GB, free: 6.402 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/1.158, allocations: 1.146 MB / 1.294 GB, free: 5.227 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.158, allocations: 47.44 kB / 1.294 GB, free: 5.184 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/1.158, allocations: 0 / 1.294 GB, free: 5.184 MB / 1.014 GB Notification: Performance of Templates: time 0.02728/1.186, allocations: 17.82 MB / 1.311 GB, free: 3.406 MB / 1.029 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=400 -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/jenkins1/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