Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 100.1 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.0009034/0.0009035, 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.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.492/2.492, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003625, allocations: 12 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.9352, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1601/1.095, allocations: 132.8 MB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0222/1.118, allocations: 18.48 MB / 1.101 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/1.119, allocations: 47.69 kB / 1.101 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/1.122, allocations: 1.55 MB / 1.103 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005544/1.127, allocations: 1.979 MB / 1.105 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/1.13, allocations: 1.111 MB / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001695/1.132, allocations: 0.9915 MB / 1.107 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007063/1.133, allocations: 0.5892 MB / 1.107 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/1.133, allocations: 0.5257 MB / 1.108 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009318/1.134, allocations: 0.8611 MB / 1.109 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/1.134, allocations: 32 kB / 1.109 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/1.135, allocations: 63.92 kB / 1.109 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/1.135, allocations: 330.9 kB / 1.109 GB, free: 460 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/1.135, allocations: 236.9 kB / 1.109 GB, free: 216 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008207/1.136, allocations: 1.007 MB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/1.136, allocations: 0 / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.204e-06/1.136, allocations: 4 kB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.136, allocations: 3.938 kB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00218/1.138, allocations: 1.496 MB / 1.112 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.138, allocations: 12.03 kB / 1.112 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/1.138, allocations: 166 kB / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009378/1.139, allocations: 0.6901 MB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/1.14, allocations: 86.61 kB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/1.14, allocations: 56 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/1.141, allocations: 0.5692 MB / 1.113 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.141, allocations: 0 / 1.113 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/1.141, allocations: 16 kB / 1.113 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/1.141, allocations: 15.95 kB / 1.113 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/1.142, allocations: 467.6 kB / 1.114 GB, free: 11.51 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.003789/1.145, allocations: 3.057 MB / 1.117 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/1.147, allocations: 0.5225 MB / 1.117 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/1.147, allocations: 4.375 kB / 1.117 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005823/1.147, allocations: 337.1 kB / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=52): time 3.357e-06/1.147, allocations: 0 / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.003133/1.15, allocations: 1.38 MB / 1.119 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/1.15, allocations: 59.83 kB / 1.119 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/1.152, allocations: 2.112 MB / 1.121 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/1.152, allocations: 37.7 kB / 1.121 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/1.153, allocations: 0.6323 MB / 1.122 GB, free: 3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.153, allocations: 165.7 kB / 1.122 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/1.153, allocations: 12 kB / 1.122 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.153, allocations: 333.9 kB / 1.122 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/1.154, allocations: 253.2 kB / 1.122 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/1.154, allocations: 361.9 kB / 1.123 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/1.155, allocations: 290.6 kB / 1.123 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.155, allocations: 0.5469 kB / 1.123 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001718/1.157, allocations: 0.9508 MB / 1.124 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.157, allocations: 7.984 kB / 1.124 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.157, allocations: 4 kB / 1.124 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/1.157, allocations: 188.8 kB / 1.124 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/1.158, allocations: 115.8 kB / 1.124 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/1.161, allocations: 2.904 MB / 1.127 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/1.162, allocations: 95.55 kB / 1.127 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/1.162, allocations: 24 kB / 1.127 GB, free: 13.14 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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.0005508/1.162, allocations: 447.7 kB / 1.128 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.162, allocations: 134.2 kB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/1.163, allocations: 166 kB / 1.128 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.163, allocations: 11.97 kB / 1.128 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.163, allocations: 4 kB / 1.128 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.163, allocations: 0 / 1.128 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/1.165, allocations: 1.765 MB / 1.13 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.165, allocations: 0 / 1.13 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/1.166, allocations: 59.91 kB / 1.13 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/1.166, allocations: 201.5 kB / 1.13 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/1.166, allocations: 15.98 kB / 1.13 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/1.17, allocations: 4.261 MB / 1.134 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.17, allocations: 0 / 1.134 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/1.172, allocations: 1.193 MB / 1.135 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/1.173, allocations: 255.1 kB / 1.136 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.173, allocations: 12 kB / 1.136 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/1.173, allocations: 47.95 kB / 1.136 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.173, allocations: 60.34 kB / 1.136 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/1.173, allocations: 19.98 kB / 1.136 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001767/1.175, allocations: 1.556 MB / 1.137 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.563e-06/1.175, allocations: 0 / 1.137 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008691/1.176, allocations: 223.5 kB / 1.137 GB, free: 2.355 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001132/1.177, allocations: 488.6 kB / 1.138 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.179, allocations: 0.7728 MB / 1.139 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.179, allocations: 0 / 1.139 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009517/1.18, allocations: 0.6014 MB / 1.139 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/1.181, allocations: 209 kB / 1.139 GB, free: 452 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/1.185, allocations: 3.126 MB / 1.142 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/1.186, allocations: 1.274 MB / 1.144 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003351/1.187, allocations: 105.1 kB / 1.144 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/1.187, allocations: 51.42 kB / 1.144 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of SimCode: time 6.52e-07/1.187, allocations: 0 / 1.144 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.01988/1.207, allocations: 10.34 MB / 1.154 GB, free: 1.629 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches