Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 104.3 kB / 16.27 MB, free: 6.406 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.002151/0.002151, allocations: 193.5 kB / 17.2 MB, free: 5.969 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437.1 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002294, allocations: 60.69 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3214, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.7733/1.095, allocations: 156.8 MB / 1.171 GB, free: 40 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03544/1.13, allocations: 21.75 MB / 1.192 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/1.133, allocations: 56.03 kB / 1.192 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/1.135, allocations: 1.173 MB / 1.193 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/1.137, allocations: 0.8466 MB / 1.194 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/1.139, allocations: 441.8 kB / 1.195 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001876/1.141, allocations: 1.25 MB / 1.196 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/1.142, allocations: 0.6921 MB / 1.197 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/1.143, allocations: 0.5531 MB / 1.197 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/1.145, allocations: 0.9109 MB / 1.198 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/1.145, allocations: 64.5 kB / 1.198 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/1.145, allocations: 113 kB / 1.198 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003262/1.146, allocations: 320.1 kB / 1.199 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006674/1.146, allocations: 487.4 kB / 1.199 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/1.148, allocations: 1.18 MB / 1.2 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.148, allocations: 0 / 1.2 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.472e-06/1.148, allocations: 6.094 kB / 1.2 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.021e-05/1.148, allocations: 0 / 1.2 GB, free: 9.992 MB / 0.9044 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.002973/1.151, allocations: 1.478 MB / 1.202 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.151, allocations: 11.14 kB / 1.202 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/1.151, allocations: 133.9 kB / 1.202 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.152, allocations: 0.6534 MB / 1.202 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/1.152, allocations: 76.22 kB / 1.202 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.152, allocations: 50.78 kB / 1.202 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/1.153, allocations: 0.5143 MB / 1.203 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.153, allocations: 2.719 kB / 1.203 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/1.154, allocations: 18.7 kB / 1.203 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.154, allocations: 13.81 kB / 1.203 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/1.154, allocations: 418.8 kB / 1.203 GB, free: 7.594 MB / 0.9044 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.004095/1.159, allocations: 2.735 MB / 1.206 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009562/1.16, allocations: 439.7 kB / 1.207 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/1.16, allocations: 316.7 kB / 1.207 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/1.16, allocations: 10.97 kB / 1.207 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00055/1.161, allocations: 285.6 kB / 1.207 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/1.161, allocations: 0 / 1.207 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.002737/1.164, allocations: 1.144 MB / 1.208 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/1.164, allocations: 64.67 kB / 1.208 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/1.166, allocations: 1.756 MB / 1.21 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/1.166, allocations: 36.42 kB / 1.21 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000507/1.166, allocations: 0.5319 MB / 1.211 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/1.166, allocations: 146.1 kB / 1.211 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.167, allocations: 100.6 kB / 1.211 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.167, allocations: 329 kB / 1.211 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/1.167, allocations: 207.1 kB / 1.211 GB, free: 2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/1.168, allocations: 335.6 kB / 1.212 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009394/1.169, allocations: 0.5171 MB / 1.212 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.169, allocations: 1.875 kB / 1.212 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001676/1.171, allocations: 0.8124 MB / 1.213 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.171, allocations: 8.844 kB / 1.213 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.171, allocations: 5.188 kB / 1.213 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/1.171, allocations: 137.7 kB / 1.213 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/1.171, allocations: 100.2 kB / 1.213 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/1.175, allocations: 2.615 MB / 1.216 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/1.175, allocations: 75.48 kB / 1.216 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/1.175, allocations: 24.06 kB / 1.216 GB, free: 14.09 MB / 0.92 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 (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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000654/1.176, allocations: 386.2 kB / 1.216 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.176, allocations: 118.4 kB / 1.216 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/1.177, allocations: 147.7 kB / 1.216 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.177, allocations: 4 kB / 1.216 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/1.177, allocations: 4 kB / 1.216 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.177, allocations: 3.984 kB / 1.216 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/1.179, allocations: 1.488 MB / 1.218 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.179, allocations: 0 / 1.218 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/1.179, allocations: 51.91 kB / 1.218 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/1.18, allocations: 167.2 kB / 1.218 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/1.18, allocations: 11.98 kB / 1.218 GB, free: 11.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/1.184, allocations: 4.024 MB / 1.222 GB, free: 7.359 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.184, allocations: 8 kB / 1.222 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.186, allocations: 0.9947 MB / 1.223 GB, free: 6.336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/1.187, allocations: 211.6 kB / 1.223 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.187, allocations: 8 kB / 1.223 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/1.187, allocations: 35.95 kB / 1.223 GB, free: 6.066 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.187, allocations: 51.94 kB / 1.223 GB, free: 6.016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/1.187, allocations: 15.98 kB / 1.223 GB, free: 6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001661/1.189, allocations: 1.289 MB / 1.225 GB, free: 4.707 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/1.189, allocations: 0 / 1.225 GB, free: 4.707 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008679/1.19, allocations: 203.6 kB / 1.225 GB, free: 4.508 MB / 0.92 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,12,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.001841/1.192, allocations: 479.6 kB / 1.225 GB, free: 4.223 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001714/1.194, allocations: 0.6936 MB / 1.226 GB, free: 3.516 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.194, allocations: 0 / 1.226 GB, free: 3.516 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008869/1.195, allocations: 0.5172 MB / 1.226 GB, free: 2.973 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.196, allocations: 206.8 kB / 1.227 GB, free: 2.777 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/1.2, allocations: 2.45 MB / 1.229 GB, free: 296 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009781/1.201, allocations: 1.146 MB / 1.23 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/1.201, allocations: 39.44 kB / 1.23 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/1.201, allocations: 0 / 1.23 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of Templates: time 0.02821/1.229, allocations: 17.81 MB / 1.248 GB, free: 13.3 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches