Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 113.6 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 209 kB / 20.09 MB, free: 2.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.077/3.077, allocations: 0.49 GB / 0.7923 GB, free: 1.375 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 67.91 kB / 1.15 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 176.1 MB / 1.322 GB, free: 7.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.2314/1.307, allocations: 161.2 MB / 1.479 GB, free: 4.348 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03589/1.343, allocations: 22.2 MB / 1.501 GB, free: 14.09 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003475/1.347, allocations: 79.38 kB / 1.501 GB, free: 14.02 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003199/1.35, allocations: 2.182 MB / 1.503 GB, free: 11.83 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003719/1.354, allocations: 1.534 MB / 1.505 GB, free: 10.29 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/1.356, allocations: 498.8 kB / 1.505 GB, free: 9.801 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003878/1.359, allocations: 1.988 MB / 1.507 GB, free: 7.801 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/1.361, allocations: 0.959 MB / 1.508 GB, free: 6.816 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/1.363, allocations: 0.9503 MB / 1.509 GB, free: 5.863 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/1.366, allocations: 1.771 MB / 1.511 GB, free: 4.09 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/1.366, allocations: 99.94 kB / 1.511 GB, free: 3.992 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004627/1.366, allocations: 144 kB / 1.511 GB, free: 3.852 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006009/1.367, allocations: 0.5663 MB / 1.512 GB, free: 3.285 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009148/1.368, allocations: 0.8145 MB / 1.512 GB, free: 2.465 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/1.371, allocations: 1.982 MB / 1.514 GB, free: 488 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/1.371, allocations: 0 / 1.514 GB, free: 488 kB / 1.186 GB Notification: Performance of FrontEnd: time 2.003e-06/1.371, allocations: 0 / 1.514 GB, free: 488 kB / 1.186 GB Notification: Performance of Transformations before backend: time 2.729e-05/1.371, allocations: 0 / 1.514 GB, free: 488 kB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004463/1.375, allocations: 2.477 MB / 1.517 GB, free: 13.93 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.375, allocations: 11.98 kB / 1.517 GB, free: 13.92 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003882/1.376, allocations: 258.3 kB / 1.517 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/1.377, allocations: 1.077 MB / 1.518 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/1.378, allocations: 99.62 kB / 1.518 GB, free: 12.42 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/1.378, allocations: 64 kB / 1.518 GB, free: 12.36 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/1.379, allocations: 0.7932 MB / 1.519 GB, free: 11.55 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.379, allocations: 4 kB / 1.519 GB, free: 11.54 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/1.379, allocations: 31.94 kB / 1.519 GB, free: 11.51 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/1.379, allocations: 19.94 kB / 1.519 GB, free: 11.49 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/1.381, allocations: 0.6336 MB / 1.52 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006328/1.387, allocations: 3.75 MB / 1.523 GB, free: 6.844 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/1.389, allocations: 0.693 MB / 1.524 GB, free: 6.141 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008412/1.39, allocations: 399.8 kB / 1.524 GB, free: 5.75 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/1.39, allocations: 8.562 kB / 1.524 GB, free: 5.742 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/1.391, allocations: 460 kB / 1.525 GB, free: 5.277 MB / 1.201 GB Notification: Performance of pre-optimization done (n=73): time 3.717e-06/1.391, allocations: 0 / 1.525 GB, free: 5.277 MB / 1.201 GB Notification: Performance of matching and sorting (n=73): time 0.004902/1.396, allocations: 1.835 MB / 1.527 GB, free: 3.395 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/1.396, allocations: 67.98 kB / 1.527 GB, free: 3.316 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/1.4, allocations: 3.414 MB / 1.53 GB, free: 15.88 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/1.4, allocations: 49.69 kB / 1.53 GB, free: 15.83 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009657/1.401, allocations: 0.9534 MB / 1.531 GB, free: 14.87 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/1.402, allocations: 242 kB / 1.531 GB, free: 14.63 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/1.402, allocations: 146.6 kB / 1.531 GB, free: 14.48 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.402, allocations: 338 kB / 1.532 GB, free: 14.15 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/1.403, allocations: 313.8 kB / 1.532 GB, free: 13.84 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/1.404, allocations: 476 kB / 1.532 GB, free: 13.33 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.405, allocations: 0.745 MB / 1.533 GB, free: 12.54 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/1.405, allocations: 0 / 1.533 GB, free: 12.54 MB / 1.217 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002861/1.408, allocations: 1.266 MB / 1.534 GB, free: 11.27 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.408, allocations: 4 kB / 1.534 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.408, allocations: 4 kB / 1.534 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/1.409, allocations: 257.6 kB / 1.535 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/1.409, allocations: 135.8 kB / 1.535 GB, free: 10.87 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/1.415, allocations: 4.761 MB / 1.539 GB, free: 5.832 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.416, allocations: 99.41 kB / 1.539 GB, free: 5.734 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/1.416, allocations: 28 kB / 1.539 GB, free: 5.707 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001121/1.417, allocations: 0.6149 MB / 1.54 GB, free: 5.086 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003666/1.418, allocations: 234.4 kB / 1.54 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/1.418, allocations: 269.6 kB / 1.541 GB, free: 4.586 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.418, allocations: 8 kB / 1.541 GB, free: 4.578 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.418, allocations: 4 kB / 1.541 GB, free: 4.574 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.418, allocations: 3.984 kB / 1.541 GB, free: 4.57 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/1.423, allocations: 2.422 MB / 1.543 GB, free: 2.086 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.423, allocations: 3.938 kB / 1.543 GB, free: 2.082 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/1.423, allocations: 75.84 kB / 1.543 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006713/1.424, allocations: 247.6 kB / 1.543 GB, free: 1.762 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/1.424, allocations: 15.98 kB / 1.543 GB, free: 1.746 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005638/1.429, allocations: 4.751 MB / 1.548 GB, free: 12.72 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.429, allocations: 0 / 1.548 GB, free: 12.72 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/1.433, allocations: 1.635 MB / 1.549 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/1.433, allocations: 347.4 kB / 1.55 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/1.433, allocations: 16 kB / 1.55 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/1.434, allocations: 43.95 kB / 1.55 GB, free: 10.64 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/1.434, allocations: 68.56 kB / 1.55 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/1.434, allocations: 27.98 kB / 1.55 GB, free: 10.55 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003169/1.437, allocations: 2.501 MB / 1.552 GB, free: 8.035 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/1.437, allocations: 4 kB / 1.552 GB, free: 8.031 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001164/1.439, allocations: 303.6 kB / 1.553 GB, free: 7.734 MB / 1.232 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001991/1.441, allocations: 493 kB / 1.553 GB, free: 7.434 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002468/1.443, allocations: 1.063 MB / 1.554 GB, free: 6.344 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.443, allocations: 0 / 1.554 GB, free: 6.344 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.444, allocations: 0.6793 MB / 1.555 GB, free: 5.637 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/1.446, allocations: 297.1 kB / 1.555 GB, free: 5.359 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/1.454, allocations: 4.284 MB / 1.559 GB, free: 1.035 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/1.455, allocations: 1.552 MB / 1.561 GB, free: 15.45 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/1.456, allocations: 75.42 kB / 1.561 GB, free: 15.38 MB / 1.248 GB Notification: Performance of SimCode: time 2.364e-06/1.456, allocations: 0 / 1.561 GB, free: 15.38 MB / 1.248 GB Notification: Performance of Templates: time 0.05423/1.51, allocations: 33.34 MB / 1.593 GB, free: 14.06 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.422124150994932]