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.006767/0.006773, allocations: 103 kB / 15.88 MB, free: 6.328 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.001725/0.001725, allocations: 198.2 kB / 16.79 MB, free: 6.254 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.312/1.312, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.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.52/2.52, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5598/0.5612, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1562/0.7174, allocations: 154.8 MB / 1.168 GB, free: 7.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02564/0.7431, allocations: 21.73 MB / 1.19 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.7453, allocations: 51.69 kB / 1.19 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.7472, allocations: 1.298 MB / 1.191 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.7489, allocations: 0.9383 MB / 1.192 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.7502, allocations: 451.1 kB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.7523, allocations: 1.52 MB / 1.194 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.7534, allocations: 0.7075 MB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009517/0.7544, allocations: 0.58 MB / 1.195 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.7558, allocations: 1.094 MB / 1.196 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.756, allocations: 44 kB / 1.196 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.7564, allocations: 87.98 kB / 1.196 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.7567, allocations: 364.5 kB / 1.197 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005622/0.7573, allocations: 0.5275 MB / 1.197 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009102/0.7582, allocations: 1.029 MB / 1.198 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7582, allocations: 0 / 1.198 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7583, allocations: 0 / 1.198 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.602e-05/0.7583, allocations: 0 / 1.198 GB, free: 8.934 MB / 0.9512 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/0.7607, allocations: 1.683 MB / 1.2 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.7608, allocations: 12.03 kB / 1.2 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.761, allocations: 167 kB / 1.2 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.7619, allocations: 0.7399 MB / 1.201 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.762, allocations: 74.69 kB / 1.201 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.7621, allocations: 59.89 kB / 1.201 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.7631, allocations: 0.5769 MB / 1.201 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.7631, allocations: 0 / 1.201 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.7632, allocations: 20 kB / 1.201 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.7632, allocations: 12 kB / 1.201 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008658/0.7641, allocations: 451.6 kB / 1.202 GB, free: 5.027 MB / 0.9512 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.00336/0.7674, allocations: 3.014 MB / 1.205 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.7685, allocations: 496.1 kB / 1.205 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.769, allocations: 309.4 kB / 1.205 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.7691, allocations: 12.36 kB / 1.206 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005917/0.7697, allocations: 329 kB / 1.206 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=52): time 1.783e-06/0.7697, allocations: 0 / 1.206 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=52): time 0.003036/0.7727, allocations: 1.356 MB / 1.207 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.7728, allocations: 59.78 kB / 1.207 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.7748, allocations: 2.112 MB / 1.209 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.7749, allocations: 37.7 kB / 1.209 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.7754, allocations: 0.6245 MB / 1.21 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.7755, allocations: 177.6 kB / 1.21 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.7757, allocations: 102.3 kB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7758, allocations: 330 kB / 1.21 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.7763, allocations: 233.2 kB / 1.211 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.7769, allocations: 349.9 kB / 1.211 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.7778, allocations: 0.5488 MB / 1.212 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7778, allocations: 3.938 kB / 1.212 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00166/0.7795, allocations: 0.9116 MB / 1.212 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7795, allocations: 8 kB / 1.212 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7796, allocations: 4 kB / 1.212 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.7801, allocations: 192.8 kB / 1.213 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.7805, allocations: 111.7 kB / 1.213 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.7838, allocations: 2.802 MB / 1.216 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.7843, allocations: 83.55 kB / 1.216 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.7843, allocations: 23.94 kB / 1.216 GB, free: 6.238 MB / 0.9669 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.0005022/0.7848, allocations: 441.2 kB / 1.216 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.785, allocations: 142.8 kB / 1.216 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.7852, allocations: 166 kB / 1.216 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7852, allocations: 4 kB / 1.216 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.7852, allocations: 4 kB / 1.216 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.7853, allocations: 4 kB / 1.216 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.7878, allocations: 1.734 MB / 1.218 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.7878, allocations: 4 kB / 1.218 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.7881, allocations: 51.91 kB / 1.218 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/0.7886, allocations: 205.5 kB / 1.218 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.7886, allocations: 12 kB / 1.218 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004437/0.7931, allocations: 4.173 MB / 1.222 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7931, allocations: 0 / 1.222 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.7958, allocations: 1.165 MB / 1.224 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.7962, allocations: 243.2 kB / 1.224 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.7964, allocations: 16 kB / 1.224 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.7969, allocations: 35.95 kB / 1.224 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7971, allocations: 60.34 kB / 1.224 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.7972, allocations: 16 kB / 1.224 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002263/0.7995, allocations: 1.549 MB / 1.225 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7995, allocations: 0 / 1.225 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001123/0.8006, allocations: 227.6 kB / 1.226 GB, free: 11.62 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.00148/0.8021, allocations: 0.4975 MB / 1.226 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.8042, allocations: 0.7536 MB / 1.227 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.8042, allocations: 128 / 1.227 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.8055, allocations: 0.5777 MB / 1.227 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.8071, allocations: 220.9 kB / 1.228 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.8117, allocations: 3.23 MB / 1.231 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.8125, allocations: 1.228 MB / 1.232 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.8127, allocations: 51.44 kB / 1.232 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.8127, allocations: 0 / 1.232 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of Templates: time 0.03358/0.8463, allocations: 20.38 MB / 1.252 GB, free: 0.8047 MB / 0.9981 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 -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