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.004472/0.004472, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001079/0.001079, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.211/1.211, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.156/2.156, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 58.72 kB / 0.9508 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2549, allocations: 140.4 MB / 1.088 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1526/0.4076, allocations: 157 MB / 1.241 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6169/1.024, allocations: 21.86 MB / 1.263 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/1.027, allocations: 55.47 kB / 1.263 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002815/1.03, allocations: 1.344 MB / 1.264 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002663/1.033, allocations: 0.9861 MB / 1.265 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/1.034, allocations: 0.5008 MB / 1.265 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003033/1.037, allocations: 1.441 MB / 1.267 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/1.039, allocations: 0.7865 MB / 1.268 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/1.041, allocations: 0.6513 MB / 1.268 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/1.043, allocations: 1.104 MB / 1.269 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/1.043, allocations: 72.31 kB / 1.269 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005274/1.043, allocations: 125.1 kB / 1.27 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005038/1.044, allocations: 368 kB / 1.27 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007373/1.045, allocations: 0.5567 MB / 1.27 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/1.047, allocations: 1.367 MB / 1.272 GB, free: 3.242 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.047, allocations: 1.438 kB / 1.272 GB, free: 3.242 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.913e-06/1.047, allocations: 0.5625 kB / 1.272 GB, free: 3.242 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.055e-05/1.047, allocations: 0.9375 kB / 1.272 GB, free: 3.242 MB / 1.014 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.003273/1.05, allocations: 1.735 MB / 1.273 GB, free: 2.227 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.05, allocations: 9.281 kB / 1.273 GB, free: 2.227 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/1.051, allocations: 174.1 kB / 1.274 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.052, allocations: 0.7661 MB / 1.274 GB, free: 1.703 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/1.052, allocations: 78.89 kB / 1.274 GB, free: 1.672 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/1.052, allocations: 49.67 kB / 1.274 GB, free: 1.672 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.053, allocations: 0.5704 MB / 1.275 GB, free: 1.609 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/1.053, allocations: 2.219 kB / 1.275 GB, free: 1.609 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/1.053, allocations: 23.38 kB / 1.275 GB, free: 1.609 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/1.053, allocations: 12.97 kB / 1.275 GB, free: 1.609 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009292/1.054, allocations: 443.2 kB / 1.275 GB, free: 1.609 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.003937/1.058, allocations: 3.011 MB / 1.278 GB, free: 16.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/1.059, allocations: 0.4961 MB / 1.279 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/1.06, allocations: 314.6 kB / 1.279 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/1.06, allocations: 6.953 kB / 1.279 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/1.061, allocations: 324.5 kB / 1.28 GB, free: 15.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=52): time 2.495e-06/1.061, allocations: 1.469 kB / 1.28 GB, free: 15.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=52): time 0.00336/1.064, allocations: 1.36 MB / 1.281 GB, free: 15.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.064, allocations: 59.06 kB / 1.281 GB, free: 15.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/1.067, allocations: 2.113 MB / 1.283 GB, free: 15.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/1.067, allocations: 42.97 kB / 1.283 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005521/1.067, allocations: 0.6279 MB / 1.284 GB, free: 15.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/1.068, allocations: 178.8 kB / 1.284 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.068, allocations: 106.4 kB / 1.284 GB, free: 15.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.068, allocations: 330 kB / 1.284 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/1.068, allocations: 236 kB / 1.284 GB, free: 14.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/1.069, allocations: 350.3 kB / 1.285 GB, free: 14.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009881/1.07, allocations: 0.5416 MB / 1.285 GB, free: 14.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.07, allocations: 4.594 kB / 1.285 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001868/1.072, allocations: 0.9319 MB / 1.286 GB, free: 14.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.072, allocations: 6.531 kB / 1.286 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.072, allocations: 4.266 kB / 1.286 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005274/1.073, allocations: 193 kB / 1.286 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/1.073, allocations: 105.2 kB / 1.287 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/1.076, allocations: 3.05 MB / 1.29 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/1.077, allocations: 80.83 kB / 1.29 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/1.077, allocations: 20.61 kB / 1.29 GB, free: 12.81 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.0007939/1.078, allocations: 443.9 kB / 1.29 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/1.078, allocations: 142.9 kB / 1.29 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/1.078, allocations: 165.4 kB / 1.29 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/1.078, allocations: 7.484 kB / 1.29 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/1.078, allocations: 10.88 kB / 1.29 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.078, allocations: 4.359 kB / 1.29 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/1.081, allocations: 1.733 MB / 1.292 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.081, allocations: 0 / 1.292 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/1.082, allocations: 54.47 kB / 1.292 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/1.082, allocations: 199 kB / 1.292 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/1.082, allocations: 18.77 kB / 1.292 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/1.087, allocations: 4.608 MB / 1.297 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.087, allocations: 1.094 kB / 1.297 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/1.089, allocations: 1.17 MB / 1.298 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/1.089, allocations: 246.9 kB / 1.298 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.09, allocations: 13.97 kB / 1.298 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/1.09, allocations: 32.16 kB / 1.298 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.09, allocations: 56.92 kB / 1.298 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/1.09, allocations: 19.89 kB / 1.298 GB, free: 8.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002358/1.093, allocations: 1.548 MB / 1.3 GB, free: 8.637 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.81e-07/1.093, allocations: 1.469 kB / 1.3 GB, free: 8.637 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001149/1.094, allocations: 227 kB / 1.3 GB, free: 8.613 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.001205/1.095, allocations: 499.5 kB / 1.3 GB, free: 8.422 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00173/1.097, allocations: 0.7617 MB / 1.301 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.097, allocations: 0.5938 kB / 1.301 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.098, allocations: 0.5886 MB / 1.302 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/1.099, allocations: 228.1 kB / 1.302 GB, free: 8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/1.104, allocations: 2.819 MB / 1.305 GB, free: 7.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/1.105, allocations: 1.243 MB / 1.306 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004377/1.106, allocations: 105.9 kB / 1.306 GB, free: 6.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/1.106, allocations: 51.75 kB / 1.306 GB, free: 6.367 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/1.106, allocations: 0 / 1.306 GB, free: 6.367 MB / 1.029 GB Notification: Performance of Templates: time 0.02386/1.13, allocations: 11.6 MB / 1.317 GB, free: 5.566 MB / 1.029 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