Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001236/0.001236, allocations: 99.39 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.001418/0.001418, allocations: 177.3 kB / 15.95 MB, free: 216 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.453/1.453, 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 9.1.2-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.2 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 16 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7094, allocations: 142.3 MB / 0.9535 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1468/0.8563, allocations: 132.5 MB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02192/0.8782, allocations: 18.35 MB / 1.101 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.8798, allocations: 43.75 kB / 1.101 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.8822, allocations: 1.371 MB / 1.102 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.8866, allocations: 1.851 MB / 1.104 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.8897, allocations: 1.052 MB / 1.105 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.8913, allocations: 0.8784 MB / 1.106 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006656/0.892, allocations: 0.5027 MB / 1.106 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005873/0.8926, allocations: 458.5 kB / 1.107 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000784/0.8934, allocations: 0.7052 MB / 1.108 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.8935, allocations: 28 kB / 1.108 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.8937, allocations: 55.98 kB / 1.108 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.8939, allocations: 275.1 kB / 1.108 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.8941, allocations: 213 kB / 1.108 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007501/0.8948, allocations: 0.8904 MB / 1.109 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.8948, allocations: 0 / 1.109 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8948, allocations: 0 / 1.109 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8949, allocations: 0 / 1.109 GB, free: 0.5703 MB / 0.8575 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.002131/0.897, allocations: 1.335 MB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.897, allocations: 8.031 kB / 1.11 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.8972, allocations: 138.3 kB / 1.11 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.898, allocations: 0.6051 MB / 1.111 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.8981, allocations: 74.69 kB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.8982, allocations: 51.91 kB / 1.111 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008733/0.8991, allocations: 0.5184 MB / 1.112 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.8991, allocations: 0 / 1.112 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.8992, allocations: 20 kB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.8992, allocations: 19.89 kB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007932/0.9, allocations: 423.7 kB / 1.112 GB, free: 13.27 MB / 0.8731 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.003494/0.9035, allocations: 2.782 MB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.9045, allocations: 452.5 kB / 1.115 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.9045, allocations: 12.31 kB / 1.115 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/0.905, allocations: 295.3 kB / 1.115 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.535e-06/0.9051, allocations: 0 / 1.115 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002513/0.9076, allocations: 1.171 MB / 1.117 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.9076, allocations: 59.39 kB / 1.117 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.9094, allocations: 1.768 MB / 1.118 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.9094, allocations: 37.7 kB / 1.118 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.9099, allocations: 0.5249 MB / 1.119 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.91, allocations: 145.9 kB / 1.119 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.91, allocations: 12 kB / 1.119 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9101, allocations: 330 kB / 1.119 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.9106, allocations: 225 kB / 1.12 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.9112, allocations: 363.1 kB / 1.12 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.9117, allocations: 263.8 kB / 1.12 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9117, allocations: 3.938 kB / 1.12 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001543/0.9133, allocations: 0.8493 MB / 1.121 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.9133, allocations: 8 kB / 1.121 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.9133, allocations: 0 / 1.121 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.9137, allocations: 153 kB / 1.121 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.9141, allocations: 115.8 kB / 1.121 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.9169, allocations: 2.517 MB / 1.124 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.9174, allocations: 99.45 kB / 1.124 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.9174, allocations: 23.94 kB / 1.124 GB, free: 0.5703 MB / 0.8731 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 (53): * Single equations (assignments): 52 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004725/0.9179, allocations: 383.3 kB / 1.124 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.918, allocations: 118.5 kB / 1.124 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.9182, allocations: 143.8 kB / 1.125 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.9182, allocations: 7.953 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.9183, allocations: 8 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9183, allocations: 0 / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.9205, allocations: 1.509 MB / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.9205, allocations: 0 / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.9208, allocations: 47.91 kB / 1.126 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003675/0.9211, allocations: 165.6 kB / 1.126 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.9212, allocations: 8 kB / 1.126 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.9245, allocations: 3.737 MB / 1.13 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9245, allocations: 0 / 1.13 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.9261, allocations: 1.015 MB / 1.131 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.9264, allocations: 223.4 kB / 1.131 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.9265, allocations: 15.98 kB / 1.131 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.9269, allocations: 39.97 kB / 1.131 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.927, allocations: 52.41 kB / 1.131 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.927, allocations: 23.98 kB / 1.131 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001302/0.9283, allocations: 1.281 MB / 1.132 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9283, allocations: 0 / 1.132 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007479/0.9291, allocations: 215.6 kB / 1.133 GB, free: 7.227 MB / 0.8887 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.0009919/0.9301, allocations: 482 kB / 1.133 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.9315, allocations: 0.716 MB / 1.134 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.9315, allocations: 4.062 kB / 1.134 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.9323, allocations: 0.5399 MB / 1.134 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008137/0.9331, allocations: 177.9 kB / 1.135 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.9366, allocations: 2.643 MB / 1.137 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/0.9374, allocations: 1.165 MB / 1.138 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.9377, allocations: 100.8 kB / 1.138 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.9378, allocations: 43.42 kB / 1.138 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.9378, allocations: 4 kB / 1.138 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of Templates: time 0.01606/0.9539, allocations: 9.04 MB / 1.147 GB, free: 8.531 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches