Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001158/0.001157, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 472.6 MB / 0.7451 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 69.64 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3166, allocations: 159.9 MB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1666/0.4833, allocations: 157 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.5101, allocations: 21.87 MB / 1.243 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.5125, allocations: 55.69 kB / 1.243 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.5144, allocations: 1.34 MB / 1.244 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.5162, allocations: 0.9691 MB / 1.245 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.5177, allocations: 0.5008 MB / 1.246 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.5194, allocations: 1.434 MB / 1.247 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009512/0.5204, allocations: 0.7813 MB / 1.248 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.5212, allocations: 0.6387 MB / 1.248 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.5224, allocations: 1.109 MB / 1.25 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.5225, allocations: 72 kB / 1.25 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6746/1.197, allocations: 121.1 kB / 1.25 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/1.198, allocations: 369.5 kB / 1.25 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006663/1.198, allocations: 0.5574 MB / 1.251 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/1.2, allocations: 1.341 MB / 1.252 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.2, allocations: 4.562 kB / 1.252 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.655e-06/1.2, allocations: 0 / 1.252 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.89e-05/1.2, allocations: 1.203 kB / 1.252 GB, free: 9.398 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.002426/1.202, allocations: 1.685 MB / 1.254 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/1.202, allocations: 10.47 kB / 1.254 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/1.203, allocations: 158.4 kB / 1.254 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/1.204, allocations: 0.7435 MB / 1.254 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/1.204, allocations: 80.58 kB / 1.255 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/1.204, allocations: 51.97 kB / 1.255 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/1.205, allocations: 0.5699 MB / 1.255 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/1.205, allocations: 1 kB / 1.255 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/1.205, allocations: 23.28 kB / 1.255 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/1.205, allocations: 11.69 kB / 1.255 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/1.206, allocations: 443.1 kB / 1.256 GB, free: 7.844 MB / 0.9981 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.003335/1.209, allocations: 3.019 MB / 1.259 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.21, allocations: 0.4948 MB / 1.259 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/1.211, allocations: 317.6 kB / 1.259 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/1.211, allocations: 9.422 kB / 1.259 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/1.211, allocations: 328.9 kB / 1.26 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/1.211, allocations: 0 / 1.26 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003171/1.215, allocations: 1.346 MB / 1.261 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.215, allocations: 57.3 kB / 1.261 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/1.217, allocations: 2.116 MB / 1.263 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/1.217, allocations: 42.97 kB / 1.263 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/1.218, allocations: 0.6249 MB / 1.264 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.218, allocations: 165.5 kB / 1.264 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/1.218, allocations: 106.3 kB / 1.264 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003209/1.218, allocations: 337.5 kB / 1.264 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/1.219, allocations: 231 kB / 1.265 GB, free: 21.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/1.219, allocations: 347.9 kB / 1.265 GB, free: 20.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009337/1.22, allocations: 0.5423 MB / 1.265 GB, free: 20.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.22, allocations: 2.562 kB / 1.265 GB, free: 20.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001695/1.222, allocations: 0.9236 MB / 1.266 GB, free: 20.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.222, allocations: 7.75 kB / 1.266 GB, free: 20.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/1.222, allocations: 2.938 kB / 1.266 GB, free: 20.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/1.222, allocations: 197 kB / 1.267 GB, free: 20.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/1.223, allocations: 105.4 kB / 1.267 GB, free: 20.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/1.227, allocations: 3.045 MB / 1.27 GB, free: 19.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/1.227, allocations: 83.25 kB / 1.27 GB, free: 19.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/1.227, allocations: 24.14 kB / 1.27 GB, free: 19.09 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: 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.0008995/1.228, allocations: 440.1 kB / 1.27 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/1.228, allocations: 136 kB / 1.27 GB, free: 18.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/1.229, allocations: 167.4 kB / 1.27 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.229, allocations: 5.438 kB / 1.27 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.229, allocations: 3.906 kB / 1.27 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.229, allocations: 4.375 kB / 1.27 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/1.232, allocations: 1.73 MB / 1.272 GB, free: 18.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.232, allocations: 3.953 kB / 1.272 GB, free: 18.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/1.233, allocations: 58.3 kB / 1.272 GB, free: 18.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/1.233, allocations: 204.3 kB / 1.272 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/1.233, allocations: 18.83 kB / 1.272 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/1.238, allocations: 4.608 MB / 1.277 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.238, allocations: 4.438 kB / 1.277 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.24, allocations: 1.157 MB / 1.278 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/1.241, allocations: 233.1 kB / 1.278 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.241, allocations: 22.36 kB / 1.278 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/1.241, allocations: 35.22 kB / 1.278 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.241, allocations: 54.45 kB / 1.278 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/1.241, allocations: 17.72 kB / 1.278 GB, free: 15.06 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002206/1.244, allocations: 1.55 MB / 1.28 GB, free: 14.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.244, allocations: 0.75 kB / 1.28 GB, free: 14.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009723/1.245, allocations: 224.6 kB / 1.28 GB, free: 14.93 MB / 1.014 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.001129/1.246, allocations: 495.8 kB / 1.281 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001822/1.248, allocations: 0.7985 MB / 1.281 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.248, allocations: 2.25 kB / 1.281 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009818/1.249, allocations: 0.5843 MB / 1.282 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.25, allocations: 227.8 kB / 1.282 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/1.254, allocations: 2.812 MB / 1.285 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.255, allocations: 1.246 MB / 1.286 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003939/1.256, allocations: 102.5 kB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/1.256, allocations: 52.81 kB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.256, allocations: 4.812 kB / 1.286 GB, free: 12.78 MB / 1.014 GB Notification: Performance of Templates: time 0.02247/1.279, allocations: 11.45 MB / 1.297 GB, free: 12.09 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches