Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001422/0.001422, allocations: 116.8 kB / 16.37 MB, free: 6 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.001562/0.001562, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 68.67 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.262, allocations: 151.6 MB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.6042/0.8662, allocations: 157 MB / 1.172 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02548/0.8918, allocations: 21.88 MB / 1.194 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.8939, allocations: 54.97 kB / 1.194 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.8956, allocations: 1.34 MB / 1.195 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.897, allocations: 0.9644 MB / 1.196 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.8982, allocations: 0.502 MB / 1.196 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.8996, allocations: 1.439 MB / 1.198 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.9004, allocations: 0.7802 MB / 1.198 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006126/0.901, allocations: 0.6479 MB / 1.199 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.902, allocations: 1.109 MB / 1.2 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.485e-05/0.9021, allocations: 73.38 kB / 1.2 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.9024, allocations: 124.1 kB / 1.2 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.9026, allocations: 369.8 kB / 1.201 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.903, allocations: 0.5585 MB / 1.201 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.9041, allocations: 1.365 MB / 1.203 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9041, allocations: 2.906 kB / 1.203 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.542e-06/0.9042, allocations: 0 / 1.203 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.9042, allocations: 0 / 1.203 GB, free: 8.633 MB / 0.9044 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.002184/0.9064, allocations: 1.677 MB / 1.204 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.9064, allocations: 9.562 kB / 1.204 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.9066, allocations: 162.8 kB / 1.204 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/0.9076, allocations: 0.7523 MB / 1.205 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.9077, allocations: 84.86 kB / 1.205 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.9078, allocations: 48.12 kB / 1.205 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.9087, allocations: 0.5688 MB / 1.206 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.9087, allocations: 6.219 kB / 1.206 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.9088, allocations: 24.56 kB / 1.206 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.9088, allocations: 13.03 kB / 1.206 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008191/0.9096, allocations: 442.3 kB / 1.206 GB, free: 5.961 MB / 0.9044 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.003409/0.913, allocations: 3.005 MB / 1.209 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009945/0.914, allocations: 498 kB / 1.21 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.9146, allocations: 311.8 kB / 1.21 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.9146, allocations: 5.969 kB / 1.21 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.9152, allocations: 331.7 kB / 1.21 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/0.9152, allocations: 3.938 kB / 1.21 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.002855/0.9181, allocations: 1.338 MB / 1.212 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.9181, allocations: 71.84 kB / 1.212 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.92, allocations: 2.115 MB / 1.214 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.92, allocations: 37.7 kB / 1.214 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.9205, allocations: 0.6245 MB / 1.214 GB, free: 4 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.9206, allocations: 165.7 kB / 1.215 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.9208, allocations: 110.3 kB / 1.215 GB, free: 15.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.9209, allocations: 337.8 kB / 1.215 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.9214, allocations: 237.2 kB / 1.215 GB, free: 15.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.922, allocations: 343 kB / 1.216 GB, free: 14.79 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/0.9229, allocations: 0.5491 MB / 1.216 GB, free: 14.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.9229, allocations: 0 / 1.216 GB, free: 14.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001614/0.9245, allocations: 0.912 MB / 1.217 GB, free: 13.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9245, allocations: 8 kB / 1.217 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9245, allocations: 4 kB / 1.217 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.9251, allocations: 200.6 kB / 1.217 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.9254, allocations: 103.9 kB / 1.217 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.9288, allocations: 3.061 MB / 1.22 GB, free: 9.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.9292, allocations: 71.48 kB / 1.22 GB, free: 9.703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.9293, allocations: 24 kB / 1.22 GB, free: 9.68 MB / 0.92 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.0004843/0.9297, allocations: 439.7 kB / 1.221 GB, free: 9.242 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.9299, allocations: 142.3 kB / 1.221 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.9302, allocations: 170 kB / 1.221 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.9302, allocations: 4 kB / 1.221 GB, free: 8.918 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.9302, allocations: 11.92 kB / 1.221 GB, free: 8.906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.9302, allocations: 0 / 1.221 GB, free: 8.906 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.933, allocations: 1.731 MB / 1.223 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.933, allocations: 0 / 1.223 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.9333, allocations: 51.89 kB / 1.223 GB, free: 7.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.9337, allocations: 200.1 kB / 1.223 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.9338, allocations: 15.98 kB / 1.223 GB, free: 6.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004243/0.938, allocations: 4.612 MB / 1.228 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.9381, allocations: 0 / 1.228 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.94, allocations: 1.159 MB / 1.229 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.9404, allocations: 243.2 kB / 1.229 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.9405, allocations: 12 kB / 1.229 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.9408, allocations: 31.97 kB / 1.229 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.941, allocations: 52.36 kB / 1.229 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.941, allocations: 23.98 kB / 1.229 GB, free: 408 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001536/0.9426, allocations: 1.552 MB / 1.231 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9426, allocations: 0 / 1.231 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008068/0.9434, allocations: 227.6 kB / 1.231 GB, free: 14.62 MB / 0.9356 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.00113/0.9445, allocations: 493.6 kB / 1.231 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.946, allocations: 0.7571 MB / 1.232 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.946, allocations: 0 / 1.232 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008906/0.9469, allocations: 0.5781 MB / 1.233 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009993/0.9479, allocations: 238.1 kB / 1.233 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.9518, allocations: 2.774 MB / 1.235 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000825/0.9526, allocations: 1.246 MB / 1.237 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.9529, allocations: 101 kB / 1.237 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.953, allocations: 51.42 kB / 1.237 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of SimCode: time 1.503e-06/0.953, allocations: 3.938 kB / 1.237 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of Templates: time 0.01992/0.9729, allocations: 11.46 MB / 1.248 GB, free: 13.17 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches