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.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.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.001269/0.001269, allocations: 108 kB / 16.41 MB, free: 6.5 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.001241/0.001241, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.327/1.327, 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.319/2.319, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 68.08 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.139, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2222/1.362, allocations: 157 MB / 1.242 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03098/1.393, allocations: 21.87 MB / 1.263 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/1.396, allocations: 55.75 kB / 1.263 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/1.399, allocations: 1.344 MB / 1.265 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/1.401, allocations: 0.9769 MB / 1.266 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/1.403, allocations: 0.5109 MB / 1.266 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0025/1.406, allocations: 1.438 MB / 1.268 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/1.407, allocations: 0.7807 MB / 1.268 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/1.409, allocations: 0.6503 MB / 1.269 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/1.41, allocations: 1.098 MB / 1.27 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/1.411, allocations: 72 kB / 1.27 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/1.411, allocations: 120 kB / 1.27 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005893/1.412, allocations: 372.5 kB / 1.271 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/1.413, allocations: 0.5588 MB / 1.271 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/1.415, allocations: 1.36 MB / 1.272 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.415, allocations: 3.938 kB / 1.272 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.555e-06/1.415, allocations: 4 kB / 1.272 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.606e-05/1.415, allocations: 0 / 1.272 GB, free: 1.461 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002765/1.418, allocations: 1.679 MB / 1.274 GB, free: 15.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.418, allocations: 12.03 kB / 1.274 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/1.418, allocations: 159 kB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009319/1.419, allocations: 0.7554 MB / 1.275 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/1.42, allocations: 78.67 kB / 1.275 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/1.42, allocations: 48 kB / 1.275 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/1.421, allocations: 0.5731 MB / 1.276 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/1.421, allocations: 4 kB / 1.276 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/1.421, allocations: 20 kB / 1.276 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/1.421, allocations: 12 kB / 1.276 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/1.422, allocations: 451.6 kB / 1.276 GB, free: 13.55 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.004041/1.426, allocations: 3.002 MB / 1.279 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.427, allocations: 0.4917 MB / 1.28 GB, free: 9.781 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/1.427, allocations: 318.2 kB / 1.28 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/1.428, allocations: 8.375 kB / 1.28 GB, free: 9.461 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/1.428, allocations: 325.2 kB / 1.28 GB, free: 9.133 MB / 1.014 GB Notification: Performance of pre-optimization done (n=52): time 2.836e-06/1.428, allocations: 0 / 1.28 GB, free: 9.133 MB / 1.014 GB Notification: Performance of matching and sorting (n=52): time 0.003199/1.431, allocations: 1.356 MB / 1.281 GB, free: 7.723 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.431, allocations: 59.84 kB / 1.282 GB, free: 7.652 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/1.434, allocations: 2.116 MB / 1.284 GB, free: 5.523 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/1.434, allocations: 37.7 kB / 1.284 GB, free: 5.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/1.434, allocations: 0.6322 MB / 1.284 GB, free: 4.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/1.434, allocations: 161.7 kB / 1.284 GB, free: 4.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.435, allocations: 106.3 kB / 1.284 GB, free: 4.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.435, allocations: 334 kB / 1.285 GB, free: 4.238 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/1.435, allocations: 229.2 kB / 1.285 GB, free: 4.012 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/1.436, allocations: 349.8 kB / 1.285 GB, free: 3.633 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00095/1.437, allocations: 0.5451 MB / 1.286 GB, free: 3.051 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.437, allocations: 4 kB / 1.286 GB, free: 3.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001805/1.439, allocations: 0.9138 MB / 1.287 GB, free: 2.121 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.439, allocations: 8.547 kB / 1.287 GB, free: 2.113 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.439, allocations: 0 / 1.287 GB, free: 2.113 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005385/1.439, allocations: 203 kB / 1.287 GB, free: 1.914 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/1.44, allocations: 115.7 kB / 1.287 GB, free: 1.801 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/1.443, allocations: 3.04 MB / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/1.444, allocations: 79.34 kB / 1.29 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/1.444, allocations: 32.05 kB / 1.29 GB, free: 14.51 MB / 1.029 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.0007446/1.445, allocations: 435.7 kB / 1.291 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/1.445, allocations: 134.3 kB / 1.291 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/1.445, allocations: 166 kB / 1.291 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.445, allocations: 11.94 kB / 1.291 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/1.445, allocations: 0 / 1.291 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.445, allocations: 3.984 kB / 1.291 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/1.448, allocations: 1.735 MB / 1.293 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.448, allocations: 3.938 kB / 1.293 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/1.448, allocations: 43.97 kB / 1.293 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/1.449, allocations: 200.5 kB / 1.293 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.449, allocations: 23.98 kB / 1.293 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00435/1.453, allocations: 4.596 MB / 1.297 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.453, allocations: 8.047 kB / 1.297 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/1.455, allocations: 1.163 MB / 1.298 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/1.455, allocations: 239.3 kB / 1.299 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.456, allocations: 12 kB / 1.299 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/1.456, allocations: 35.95 kB / 1.299 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.456, allocations: 56.36 kB / 1.299 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/1.456, allocations: 19.98 kB / 1.299 GB, free: 5.242 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001673/1.458, allocations: 1.541 MB / 1.3 GB, free: 3.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.458, allocations: 4 kB / 1.3 GB, free: 3.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000891/1.459, allocations: 223.6 kB / 1.301 GB, free: 3.48 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: 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.001284/1.46, allocations: 494.4 kB / 1.301 GB, free: 3.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001707/1.462, allocations: 0.7529 MB / 1.302 GB, free: 2.414 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.462, allocations: 0.5 kB / 1.302 GB, free: 2.414 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009241/1.463, allocations: 0.5892 MB / 1.302 GB, free: 1.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/1.464, allocations: 230.9 kB / 1.303 GB, free: 1.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/1.468, allocations: 2.848 MB / 1.305 GB, free: 14.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008974/1.469, allocations: 1.228 MB / 1.307 GB, free: 13.44 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/1.469, allocations: 55.42 kB / 1.307 GB, free: 13.39 MB / 1.045 GB Notification: Performance of SimCode: time 1.192e-06/1.469, allocations: 0 / 1.307 GB, free: 13.39 MB / 1.045 GB Notification: Performance of Templates: time 0.02913/1.498, allocations: 20.47 MB / 1.327 GB, free: 8.945 MB / 1.061 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/jenkins1/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