Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TestCase6,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.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_10_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.001774/0.001773, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001994/0.001995, allocations: 188.8 kB / 16.25 MB, free: 6.637 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.549/1.549, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.849/2.849, allocations: 437 MB / 0.7101 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.654, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1796/0.8336, allocations: 154.9 MB / 1.168 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02863/0.8622, allocations: 21.62 MB / 1.189 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.8646, allocations: 51.69 kB / 1.189 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.8666, allocations: 1.302 MB / 1.191 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.8683, allocations: 0.9267 MB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.8697, allocations: 470.3 kB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.8715, allocations: 1.43 MB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.8725, allocations: 0.7828 MB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008597/0.8734, allocations: 0.6503 MB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.8747, allocations: 1.152 MB / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.8748, allocations: 72 kB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.8751, allocations: 124 kB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.8755, allocations: 396.4 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.8761, allocations: 0.5549 MB / 1.197 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.8775, allocations: 1.347 MB / 1.198 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8775, allocations: 0 / 1.198 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8775, allocations: 0 / 1.198 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.8776, allocations: 0 / 1.198 GB, free: 8.305 MB / 0.9512 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.002692/0.8803, allocations: 1.683 MB / 1.2 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.8803, allocations: 8.031 kB / 1.2 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.8806, allocations: 163 kB / 1.2 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.8816, allocations: 0.7438 MB / 1.201 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.8817, allocations: 78.67 kB / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.8818, allocations: 56 kB / 1.201 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.883, allocations: 0.5653 MB / 1.201 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.883, allocations: 7.844 kB / 1.201 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.8831, allocations: 20 kB / 1.201 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.8831, allocations: 12 kB / 1.201 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.8841, allocations: 451.7 kB / 1.202 GB, free: 4.406 MB / 0.9512 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.004078/0.8882, allocations: 3.014 MB / 1.205 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.8893, allocations: 499.5 kB / 1.205 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.89, allocations: 313.4 kB / 1.206 GB, free: 320 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.89, allocations: 4.375 kB / 1.206 GB, free: 316 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006925/0.8907, allocations: 329.1 kB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 2.515e-06/0.8907, allocations: 0 / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.003395/0.8941, allocations: 1.352 MB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.8942, allocations: 59.84 kB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.8966, allocations: 2.116 MB / 1.209 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.8967, allocations: 37.7 kB / 1.209 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/0.8973, allocations: 0.6284 MB / 1.21 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.8974, allocations: 170.2 kB / 1.21 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.8976, allocations: 106.3 kB / 1.21 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8978, allocations: 326 kB / 1.211 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/0.8983, allocations: 237.2 kB / 1.211 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.899, allocations: 349.8 kB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.9, allocations: 0.553 MB / 1.212 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9001, allocations: 0 / 1.212 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001868/0.9019, allocations: 0.9062 MB / 1.213 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.902, allocations: 8 kB / 1.213 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.902, allocations: 7.984 kB / 1.213 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.9026, allocations: 194.4 kB / 1.213 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.903, allocations: 111.7 kB / 1.213 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.9071, allocations: 3.056 MB / 1.216 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.9076, allocations: 83.48 kB / 1.216 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.9077, allocations: 20 kB / 1.216 GB, free: 5.363 MB / 0.9669 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006302/0.9083, allocations: 446.1 kB / 1.216 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.9085, allocations: 142.2 kB / 1.217 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.9088, allocations: 166 kB / 1.217 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.9088, allocations: 7.938 kB / 1.217 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.9088, allocations: 4 kB / 1.217 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.9088, allocations: 3.984 kB / 1.217 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.9117, allocations: 1.73 MB / 1.218 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9118, allocations: 4 kB / 1.218 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.912, allocations: 55.95 kB / 1.218 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/0.9125, allocations: 199.5 kB / 1.219 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.9126, allocations: 15.98 kB / 1.219 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.9176, allocations: 4.613 MB / 1.223 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9177, allocations: 0 / 1.223 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.9199, allocations: 1.162 MB / 1.224 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.9202, allocations: 239.3 kB / 1.225 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.9203, allocations: 12 kB / 1.225 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.9207, allocations: 39.95 kB / 1.225 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.9209, allocations: 56.36 kB / 1.225 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.9209, allocations: 23.98 kB / 1.225 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001765/0.9227, allocations: 1.541 MB / 1.226 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9227, allocations: 0 / 1.226 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008666/0.9236, allocations: 227.6 kB / 1.226 GB, free: 10.3 MB / 0.9825 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 (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,14,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.001793/0.9254, allocations: 498.1 kB / 1.227 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.9273, allocations: 0.8118 MB / 1.228 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9273, allocations: 0 / 1.228 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.9284, allocations: 0.5742 MB / 1.228 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.9295, allocations: 230 kB / 1.228 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.9345, allocations: 3.161 MB / 1.232 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.9356, allocations: 1.243 MB / 1.233 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003541/0.936, allocations: 105.1 kB / 1.233 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.9362, allocations: 51.42 kB / 1.233 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.9362, allocations: 0 / 1.233 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.02422/0.9604, allocations: 11.23 MB / 1.244 GB, free: 8.645 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches