Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 108.3 kB / 16.41 MB, free: 6.355 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.001631/0.001631, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2247/1.297, allocations: 156.7 MB / 1.242 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03085/1.327, allocations: 21.74 MB / 1.263 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/1.331, allocations: 55.69 kB / 1.263 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/1.333, allocations: 1.161 MB / 1.264 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/1.335, allocations: 0.8485 MB / 1.265 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/1.337, allocations: 457.4 kB / 1.265 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002168/1.339, allocations: 1.27 MB / 1.267 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/1.34, allocations: 0.6714 MB / 1.267 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/1.341, allocations: 0.5568 MB / 1.268 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/1.343, allocations: 0.9176 MB / 1.269 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/1.343, allocations: 64 kB / 1.269 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/1.344, allocations: 111.9 kB / 1.269 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/1.344, allocations: 316.8 kB / 1.269 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007381/1.345, allocations: 496.8 kB / 1.27 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/1.346, allocations: 1.197 MB / 1.271 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.347, allocations: 4 kB / 1.271 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.165e-06/1.347, allocations: 0 / 1.271 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.22e-05/1.347, allocations: 0 / 1.271 GB, free: 3.113 MB / 0.9981 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.003152/1.35, allocations: 1.475 MB / 1.272 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.35, allocations: 11.97 kB / 1.272 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/1.35, allocations: 135.3 kB / 1.272 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.351, allocations: 0.6589 MB / 1.273 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/1.351, allocations: 78.67 kB / 1.273 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/1.351, allocations: 40 kB / 1.273 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.353, allocations: 0.5223 MB / 1.274 GB, free: 68 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.353, allocations: 4 kB / 1.274 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/1.353, allocations: 20 kB / 1.274 GB, free: 44 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.353, allocations: 8 kB / 1.274 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/1.354, allocations: 411.7 kB / 1.274 GB, free: 15.63 MB / 1.014 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.004028/1.358, allocations: 2.803 MB / 1.277 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.359, allocations: 459.5 kB / 1.277 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/1.359, allocations: 285.3 kB / 1.278 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/1.359, allocations: 4.328 kB / 1.278 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/1.36, allocations: 294.8 kB / 1.278 GB, free: 11.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 4.348e-06/1.36, allocations: 0 / 1.278 GB, free: 11.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003023/1.363, allocations: 1.245 MB / 1.279 GB, free: 10.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/1.363, allocations: 63.39 kB / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/1.365, allocations: 1.744 MB / 1.281 GB, free: 8.422 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/1.365, allocations: 37.7 kB / 1.281 GB, free: 8.379 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/1.366, allocations: 0.5334 MB / 1.281 GB, free: 7.844 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/1.366, allocations: 145.9 kB / 1.281 GB, free: 7.699 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/1.366, allocations: 94.25 kB / 1.282 GB, free: 7.602 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.366, allocations: 326 kB / 1.282 GB, free: 7.277 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/1.367, allocations: 220.9 kB / 1.282 GB, free: 7.062 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/1.367, allocations: 324.9 kB / 1.282 GB, free: 6.703 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/1.368, allocations: 0.5065 MB / 1.283 GB, free: 6.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.368, allocations: 4 kB / 1.283 GB, free: 6.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001755/1.37, allocations: 0.8488 MB / 1.284 GB, free: 5.297 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.37, allocations: 4 kB / 1.284 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.37, allocations: 4 kB / 1.284 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/1.371, allocations: 191.6 kB / 1.284 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/1.371, allocations: 95.81 kB / 1.284 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/1.375, allocations: 2.986 MB / 1.287 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/1.376, allocations: 79.55 kB / 1.287 GB, free: 1.797 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/1.376, allocations: 20 kB / 1.287 GB, free: 1.777 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006358/1.376, allocations: 387.3 kB / 1.287 GB, free: 1.387 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/1.376, allocations: 118.4 kB / 1.288 GB, free: 1.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/1.377, allocations: 139.7 kB / 1.288 GB, free: 1.133 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.377, allocations: 8 kB / 1.288 GB, free: 1.125 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/1.377, allocations: 0 / 1.288 GB, free: 1.125 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/1.377, allocations: 7.984 kB / 1.288 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/1.38, allocations: 1.564 MB / 1.289 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.38, allocations: 3.984 kB / 1.289 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/1.38, allocations: 39.97 kB / 1.289 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/1.38, allocations: 196.1 kB / 1.289 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/1.381, allocations: 15.98 kB / 1.289 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/1.385, allocations: 4.548 MB / 1.294 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.385, allocations: 0 / 1.294 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.387, allocations: 1.066 MB / 1.295 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/1.387, allocations: 215.6 kB / 1.295 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/1.388, allocations: 12 kB / 1.295 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/1.388, allocations: 27.97 kB / 1.295 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.388, allocations: 59.86 kB / 1.295 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/1.388, allocations: 15.98 kB / 1.295 GB, free: 8.992 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001636/1.39, allocations: 1.281 MB / 1.296 GB, free: 7.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.39, allocations: 0 / 1.296 GB, free: 7.707 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009295/1.391, allocations: 199.6 kB / 1.297 GB, free: 7.512 MB / 1.029 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,13,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.001244/1.392, allocations: 488.5 kB / 1.297 GB, free: 7.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00165/1.394, allocations: 0.717 MB / 1.298 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.394, allocations: 4 kB / 1.298 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009715/1.395, allocations: 0.5601 MB / 1.298 GB, free: 5.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.396, allocations: 195.9 kB / 1.299 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/1.4, allocations: 2.42 MB / 1.301 GB, free: 3.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/1.401, allocations: 1.149 MB / 1.302 GB, free: 2.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/1.401, allocations: 43.44 kB / 1.302 GB, free: 2.035 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/1.401, allocations: 0 / 1.302 GB, free: 2.035 MB / 1.029 GB Notification: Performance of Templates: time 0.03142/1.433, allocations: 17.89 MB / 1.32 GB, free: 176 kB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches