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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009444/0.0009444, allocations: 97.78 kB / 16.02 MB, free: 76 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.00144/0.00144, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.754/2.754, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 7.594 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1578/0.4907, allocations: 152.6 MB / 1.208 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02738/0.5181, allocations: 21.5 MB / 1.229 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.52, allocations: 47.69 kB / 1.229 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.5219, allocations: 1.31 MB / 1.231 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.5237, allocations: 0.9267 MB / 1.232 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.5249, allocations: 455.4 kB / 1.232 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001751/0.5267, allocations: 1.528 MB / 1.234 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.5276, allocations: 0.6787 MB / 1.234 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.5283, allocations: 0.5527 MB / 1.235 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.5297, allocations: 1.066 MB / 1.236 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.614e-05/0.5297, allocations: 32 kB / 1.236 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.53, allocations: 75.97 kB / 1.236 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.5304, allocations: 348.5 kB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.5308, allocations: 0.5331 MB / 1.237 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009379/0.5318, allocations: 1.009 MB / 1.238 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.5318, allocations: 0 / 1.238 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5318, allocations: 0 / 1.238 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.5318, allocations: 0 / 1.238 GB, free: 13.59 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.002365/0.5342, allocations: 1.497 MB / 1.239 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5342, allocations: 11.97 kB / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.5345, allocations: 163 kB / 1.239 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.5354, allocations: 0.7399 MB / 1.24 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.5355, allocations: 82.67 kB / 1.24 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.5356, allocations: 52 kB / 1.24 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.5367, allocations: 0.5808 MB / 1.241 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.5367, allocations: 0 / 1.241 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.5368, allocations: 24 kB / 1.241 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5368, allocations: 12 kB / 1.241 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/0.5377, allocations: 463.6 kB / 1.241 GB, free: 9.852 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.004357/0.5421, allocations: 3.076 MB / 1.244 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.5434, allocations: 0.5117 MB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/0.544, allocations: 325.4 kB / 1.245 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.5441, allocations: 8.359 kB / 1.245 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.5448, allocations: 337.1 kB / 1.245 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.926e-06/0.5448, allocations: 0 / 1.245 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003509/0.5483, allocations: 1.387 MB / 1.247 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.5484, allocations: 55.84 kB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.5509, allocations: 2.128 MB / 1.249 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.5509, allocations: 37.7 kB / 1.249 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.5515, allocations: 0.6207 MB / 1.25 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.5517, allocations: 165.7 kB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.5518, allocations: 61.67 kB / 1.25 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5519, allocations: 326 kB / 1.25 GB, free: 452 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.5525, allocations: 261.1 kB / 1.25 GB, free: 188 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7422/1.295, allocations: 354.7 kB / 1.251 GB, free: 45.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.296, allocations: 0.5751 MB / 1.251 GB, free: 45.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.296, allocations: 1.875 kB / 1.251 GB, free: 45.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002239/1.298, allocations: 0.9567 MB / 1.252 GB, free: 45.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/1.298, allocations: 9.938 kB / 1.252 GB, free: 45.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.298, allocations: 3 kB / 1.252 GB, free: 45.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/1.299, allocations: 199.3 kB / 1.252 GB, free: 45.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/1.299, allocations: 115.2 kB / 1.252 GB, free: 45.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/1.303, allocations: 2.793 MB / 1.255 GB, free: 43.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/1.303, allocations: 99.2 kB / 1.255 GB, free: 43.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/1.303, allocations: 20.62 kB / 1.255 GB, free: 43.95 MB / 0.9981 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.00061/1.304, allocations: 439.8 kB / 1.256 GB, free: 43.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/1.304, allocations: 143.7 kB / 1.256 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/1.304, allocations: 163.6 kB / 1.256 GB, free: 43.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.304, allocations: 9.719 kB / 1.256 GB, free: 43.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.304, allocations: 6.719 kB / 1.256 GB, free: 43.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.304, allocations: 3.281 kB / 1.256 GB, free: 43.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/1.307, allocations: 1.756 MB / 1.258 GB, free: 43.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.307, allocations: 0.8125 kB / 1.258 GB, free: 43.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/1.307, allocations: 54.89 kB / 1.258 GB, free: 43.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/1.308, allocations: 206 kB / 1.258 GB, free: 43.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/1.308, allocations: 9.438 kB / 1.258 GB, free: 43.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/1.311, allocations: 4.185 MB / 1.262 GB, free: 40.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.311, allocations: 0.6094 kB / 1.262 GB, free: 40.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/1.313, allocations: 1.196 MB / 1.263 GB, free: 40.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/1.313, allocations: 252.9 kB / 1.263 GB, free: 40.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/1.313, allocations: 11.23 kB / 1.264 GB, free: 40.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/1.314, allocations: 51.86 kB / 1.264 GB, free: 40.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.314, allocations: 57.27 kB / 1.264 GB, free: 40.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/1.314, allocations: 19.53 kB / 1.264 GB, free: 40.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001564/1.315, allocations: 1.544 MB / 1.265 GB, free: 40.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.102e-06/1.316, allocations: 0 / 1.265 GB, free: 40.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008236/1.316, allocations: 238.8 kB / 1.265 GB, free: 40.2 MB / 0.9981 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.001079/1.317, allocations: 483.6 kB / 1.266 GB, free: 40.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001571/1.319, allocations: 0.7825 MB / 1.267 GB, free: 39.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.319, allocations: 3.891 kB / 1.267 GB, free: 39.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009885/1.32, allocations: 0.5919 MB / 1.267 GB, free: 39.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.321, allocations: 221.3 kB / 1.267 GB, free: 39.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/1.326, allocations: 3.304 MB / 1.271 GB, free: 38.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009728/1.327, allocations: 1.231 MB / 1.272 GB, free: 37.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/1.327, allocations: 51.73 kB / 1.272 GB, free: 37.55 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.327, allocations: 0 / 1.272 GB, free: 37.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.03338/1.361, allocations: 20.15 MB / 1.292 GB, free: 34.96 MB / 0.9981 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/jenkins1/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