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.001018/0.001018, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001257/0.001257, allocations: 168.7 kB / 15.95 MB, free: 204 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.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.395 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.409/2.409, allocations: 390.9 MB / 0.666 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7798, allocations: 142.4 MB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.172/0.9518, allocations: 142.4 MB / 1.094 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02484/0.9767, allocations: 20.36 MB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.9784, allocations: 51.69 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.9801, allocations: 1.282 MB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.9817, allocations: 0.915 MB / 1.116 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.983, allocations: 396.3 kB / 1.116 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.9846, allocations: 1.333 MB / 1.117 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007498/0.9853, allocations: 0.593 MB / 1.118 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006957/0.986, allocations: 0.545 MB / 1.118 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.9871, allocations: 0.9409 MB / 1.119 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.9872, allocations: 32 kB / 1.119 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.9875, allocations: 71.98 kB / 1.119 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.9878, allocations: 342.8 kB / 1.12 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.988, allocations: 232.9 kB / 1.12 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009476/0.989, allocations: 1.017 MB / 1.121 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.989, allocations: 4 kB / 1.121 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.044e-06/0.989, allocations: 0 / 1.121 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.989, allocations: 0 / 1.121 GB, free: 4.496 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.002232/0.9913, allocations: 1.506 MB / 1.122 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.9913, allocations: 12.03 kB / 1.122 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.9916, allocations: 166 kB / 1.123 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.9925, allocations: 0.6823 MB / 1.123 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.9926, allocations: 82.67 kB / 1.123 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.9928, allocations: 51.98 kB / 1.123 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.9938, allocations: 0.5808 MB / 1.124 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.9938, allocations: 0 / 1.124 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.9939, allocations: 20 kB / 1.124 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.9939, allocations: 15.95 kB / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.995, allocations: 467.6 kB / 1.124 GB, free: 0.8047 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.004215/0.9992, allocations: 3.057 MB / 1.127 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1, allocations: 0.511 MB / 1.128 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/1.001, allocations: 327.1 kB / 1.128 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/1.001, allocations: 8.375 kB / 1.128 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006609/1.002, allocations: 329.1 kB / 1.129 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=52): time 2.885e-06/1.002, allocations: 0 / 1.129 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of matching and sorting (n=52): time 0.003086/1.005, allocations: 1.375 MB / 1.13 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/1.005, allocations: 59.78 kB / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/1.007, allocations: 2.116 MB / 1.132 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/1.007, allocations: 37.7 kB / 1.132 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/1.008, allocations: 0.6245 MB / 1.133 GB, free: 8 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/1.008, allocations: 169.7 kB / 1.133 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/1.008, allocations: 16 kB / 1.133 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.008, allocations: 322 kB / 1.133 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/1.009, allocations: 257.1 kB / 1.133 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/1.009, allocations: 361.9 kB / 1.134 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/1.01, allocations: 285.4 kB / 1.134 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.01, allocations: 0 / 1.134 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001731/1.012, allocations: 0.9427 MB / 1.135 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.012, allocations: 8.094 kB / 1.135 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.012, allocations: 4 kB / 1.135 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/1.012, allocations: 192.7 kB / 1.135 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/1.013, allocations: 119.9 kB / 1.135 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/1.016, allocations: 2.8 MB / 1.138 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/1.017, allocations: 91.55 kB / 1.138 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/1.017, allocations: 24.48 kB / 1.138 GB, free: 2.254 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.0006145/1.017, allocations: 443.7 kB / 1.139 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/1.017, allocations: 142.2 kB / 1.139 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/1.018, allocations: 166 kB / 1.139 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.018, allocations: 4 kB / 1.139 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.018, allocations: 11.94 kB / 1.139 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.018, allocations: 0 / 1.139 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/1.02, allocations: 1.754 MB / 1.141 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.021, allocations: 0 / 1.141 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/1.021, allocations: 51.97 kB / 1.141 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/1.021, allocations: 208.5 kB / 1.141 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/1.021, allocations: 12 kB / 1.141 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004201/1.026, allocations: 4.174 MB / 1.145 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.026, allocations: 4.062 kB / 1.145 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.028, allocations: 1.185 MB / 1.146 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/1.028, allocations: 255.2 kB / 1.146 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.881e-05/1.028, allocations: 12 kB / 1.146 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/1.028, allocations: 43.95 kB / 1.146 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.029, allocations: 60.34 kB / 1.146 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/1.029, allocations: 19.98 kB / 1.146 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0017/1.03, allocations: 1.541 MB / 1.148 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.41e-07/1.03, allocations: 0 / 1.148 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008797/1.031, allocations: 231.6 kB / 1.148 GB, free: 7.574 MB / 0.9044 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.001161/1.032, allocations: 495.8 kB / 1.149 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.034, allocations: 0.789 MB / 1.149 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.034, allocations: 4.062 kB / 1.149 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009876/1.035, allocations: 0.597 MB / 1.15 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.036, allocations: 207.3 kB / 1.15 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/1.041, allocations: 3.111 MB / 1.153 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.042, allocations: 1.25 MB / 1.154 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000379/1.042, allocations: 93.11 kB / 1.155 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.042, allocations: 51.42 kB / 1.155 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/1.042, allocations: 0 / 1.155 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of Templates: time 0.02104/1.063, allocations: 10.29 MB / 1.165 GB, free: 6.934 MB / 0.92 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches