Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001648/0.001648, allocations: 108.7 kB / 15.99 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.001689/0.001689, allocations: 191.8 kB / 16.91 MB, free: 6.191 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.666/2.666, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 68 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3333, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.6483/0.9816, allocations: 154.9 MB / 1.215 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02842/1.01, allocations: 21.62 MB / 1.236 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/1.012, allocations: 51.69 kB / 1.237 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/1.014, allocations: 1.306 MB / 1.238 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/1.016, allocations: 0.9306 MB / 1.239 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/1.018, allocations: 454 kB / 1.239 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002047/1.02, allocations: 1.43 MB / 1.241 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/1.021, allocations: 0.7909 MB / 1.241 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009637/1.022, allocations: 0.6542 MB / 1.242 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/1.023, allocations: 1.144 MB / 1.243 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/1.023, allocations: 76 kB / 1.243 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/1.024, allocations: 123.9 kB / 1.243 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/1.024, allocations: 392.5 kB / 1.244 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/1.025, allocations: 0.5588 MB / 1.244 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/1.026, allocations: 1.045 MB / 1.245 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.026, allocations: 4 kB / 1.245 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/1.026, allocations: 0 / 1.245 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.964e-05/1.026, allocations: 0 / 1.245 GB, free: 15.76 MB / 0.9669 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.002789/1.029, allocations: 1.685 MB / 1.247 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.029, allocations: 8.031 kB / 1.247 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/1.029, allocations: 162.9 kB / 1.247 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/1.03, allocations: 0.7478 MB / 1.248 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/1.03, allocations: 78.69 kB / 1.248 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.031, allocations: 55.91 kB / 1.248 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.032, allocations: 0.5692 MB / 1.248 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/1.032, allocations: 3.984 kB / 1.248 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/1.032, allocations: 20 kB / 1.248 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/1.032, allocations: 12 kB / 1.248 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/1.033, allocations: 443.7 kB / 1.249 GB, free: 11.86 MB / 0.9669 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.004339/1.037, allocations: 3.018 MB / 1.252 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.038, allocations: 0.4934 MB / 1.252 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/1.039, allocations: 313.4 kB / 1.253 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.242e-05/1.039, allocations: 12.34 kB / 1.253 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006859/1.04, allocations: 333.1 kB / 1.253 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 3.026e-06/1.04, allocations: 0.5469 kB / 1.253 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.003455/1.043, allocations: 1.348 MB / 1.254 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/1.043, allocations: 59.84 kB / 1.254 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/1.046, allocations: 2.112 MB / 1.256 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/1.046, allocations: 41.7 kB / 1.256 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006071/1.047, allocations: 0.6284 MB / 1.257 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/1.047, allocations: 169.6 kB / 1.257 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/1.047, allocations: 106.3 kB / 1.257 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.047, allocations: 337.8 kB / 1.258 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/1.048, allocations: 233.2 kB / 1.258 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/1.048, allocations: 349.8 kB / 1.258 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.049, allocations: 0.5511 MB / 1.259 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.049, allocations: 0 / 1.259 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001954/1.051, allocations: 0.9042 MB / 1.26 GB, free: 416 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.051, allocations: 8 kB / 1.26 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.051, allocations: 4.156 kB / 1.26 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/1.052, allocations: 196.7 kB / 1.26 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/1.052, allocations: 103.8 kB / 1.26 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/1.057, allocations: 3.049 MB / 1.263 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/1.057, allocations: 87.53 kB / 1.263 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/1.057, allocations: 20 kB / 1.263 GB, free: 12.8 MB / 0.9825 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.0006354/1.058, allocations: 439.8 kB / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/1.058, allocations: 138.2 kB / 1.264 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/1.058, allocations: 166 kB / 1.264 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.058, allocations: 11.94 kB / 1.264 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.058, allocations: 7.938 kB / 1.264 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.058, allocations: 3.984 kB / 1.264 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/1.061, allocations: 1.73 MB / 1.265 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.061, allocations: 3.938 kB / 1.265 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/1.062, allocations: 55.97 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/1.062, allocations: 207.8 kB / 1.266 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/1.062, allocations: 11.98 kB / 1.266 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0052/1.067, allocations: 4.609 MB / 1.27 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.067, allocations: 0 / 1.27 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/1.07, allocations: 1.162 MB / 1.271 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/1.07, allocations: 247.3 kB / 1.272 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.07, allocations: 15.98 kB / 1.272 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/1.071, allocations: 39.97 kB / 1.272 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.071, allocations: 60.28 kB / 1.272 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/1.071, allocations: 16 kB / 1.272 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001811/1.073, allocations: 1.549 MB / 1.273 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/1.073, allocations: 0 / 1.273 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008722/1.074, allocations: 231.6 kB / 1.273 GB, free: 1.73 MB / 0.9825 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.001786/1.075, allocations: 491.4 kB / 1.274 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001889/1.077, allocations: 0.7999 MB / 1.275 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.077, allocations: 4.188 kB / 1.275 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.078, allocations: 0.5737 MB / 1.275 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.08, allocations: 229.9 kB / 1.275 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/1.084, allocations: 3.241 MB / 1.279 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.086, allocations: 1.232 MB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/1.086, allocations: 55.42 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.086, allocations: 0 / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03357/1.119, allocations: 20.4 MB / 1.3 GB, free: 6.84 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches