Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.6 MB / 249.9 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.784/2.784, allocations: 443.5 MB / 0.731 GB, free: 12.74 MB / 0.5919 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_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_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.89 kB / 1.06 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247/1.249, allocations: 160.7 MB / 1.217 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.2379/1.487, allocations: 158.1 MB / 1.371 GB, free: 9.051 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03727/1.524, allocations: 22.13 MB / 1.393 GB, free: 2.844 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/1.528, allocations: 59.69 kB / 1.393 GB, free: 2.785 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003548/1.531, allocations: 2.171 MB / 1.395 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003709/1.535, allocations: 1.476 MB / 1.396 GB, free: 15.13 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/1.537, allocations: 0.6332 MB / 1.397 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004211/1.542, allocations: 1.933 MB / 1.399 GB, free: 12.56 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/1.544, allocations: 0.9382 MB / 1.4 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/1.546, allocations: 0.9269 MB / 1.4 GB, free: 10.67 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/1.55, allocations: 1.756 MB / 1.402 GB, free: 8.91 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005564/1.55, allocations: 96 kB / 1.402 GB, free: 8.816 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008487/1.551, allocations: 144 kB / 1.402 GB, free: 8.676 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008811/1.552, allocations: 0.5587 MB / 1.403 GB, free: 8.113 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/1.553, allocations: 0.7874 MB / 1.404 GB, free: 7.32 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/1.556, allocations: 1.956 MB / 1.406 GB, free: 5.359 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.556, allocations: 0 / 1.406 GB, free: 5.359 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.283e-06/1.556, allocations: 4 kB / 1.406 GB, free: 5.355 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.274e-05/1.556, allocations: 0 / 1.406 GB, free: 5.355 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00462/1.561, allocations: 2.43 MB / 1.408 GB, free: 2.863 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.561, allocations: 12.56 kB / 1.408 GB, free: 2.852 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/1.561, allocations: 251.3 kB / 1.408 GB, free: 2.605 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/1.563, allocations: 1.06 MB / 1.409 GB, free: 1.48 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/1.563, allocations: 99 kB / 1.409 GB, free: 1.375 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/1.564, allocations: 64 kB / 1.409 GB, free: 1.312 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/1.565, allocations: 0.7884 MB / 1.41 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/1.565, allocations: 3.953 kB / 1.41 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/1.565, allocations: 28 kB / 1.41 GB, free: 488 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/1.565, allocations: 16 kB / 1.41 GB, free: 472 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.567, allocations: 0.6414 MB / 1.411 GB, free: 15.81 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006794/1.574, allocations: 3.722 MB / 1.415 GB, free: 11.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/1.575, allocations: 0.6843 MB / 1.415 GB, free: 11.14 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008785/1.576, allocations: 399.9 kB / 1.416 GB, free: 10.75 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/1.576, allocations: 8.562 kB / 1.416 GB, free: 10.75 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009225/1.577, allocations: 444 kB / 1.416 GB, free: 10.3 MB / 1.123 GB Notification: Performance of pre-optimization done (n=73): time 3.948e-06/1.577, allocations: 0 / 1.416 GB, free: 10.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=73): time 0.0048/1.582, allocations: 1.835 MB / 1.418 GB, free: 8.414 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/1.582, allocations: 68.05 kB / 1.418 GB, free: 8.336 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004559/1.587, allocations: 3.363 MB / 1.421 GB, free: 4.949 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/1.587, allocations: 45.69 kB / 1.421 GB, free: 4.898 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.588, allocations: 0.9296 MB / 1.422 GB, free: 3.965 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/1.588, allocations: 246 kB / 1.422 GB, free: 3.723 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/1.589, allocations: 142.6 kB / 1.422 GB, free: 3.574 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.589, allocations: 341.9 kB / 1.423 GB, free: 3.234 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007449/1.59, allocations: 317.8 kB / 1.423 GB, free: 2.926 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008851/1.59, allocations: 468.1 kB / 1.424 GB, free: 2.422 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.592, allocations: 0.751 MB / 1.424 GB, free: 1.637 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/1.592, allocations: 4 kB / 1.424 GB, free: 1.633 MB / 1.123 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0029/1.595, allocations: 1.248 MB / 1.426 GB, free: 376 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/1.595, allocations: 11.98 kB / 1.426 GB, free: 364 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.595, allocations: 0 / 1.426 GB, free: 364 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008474/1.596, allocations: 265.6 kB / 1.426 GB, free: 92 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/1.596, allocations: 139.8 kB / 1.426 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/1.602, allocations: 4.752 MB / 1.431 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.604, allocations: 103.5 kB / 1.431 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/1.604, allocations: 32 kB / 1.431 GB, free: 10.79 MB / 1.139 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.001413/1.605, allocations: 0.6109 MB / 1.431 GB, free: 10.17 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005427/1.606, allocations: 222.5 kB / 1.431 GB, free: 9.953 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/1.609, allocations: 1.191 MB / 1.433 GB, free: 8.746 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/1.609, allocations: 11.98 kB / 1.433 GB, free: 8.734 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.609, allocations: 4 kB / 1.433 GB, free: 8.73 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.609, allocations: 7.922 kB / 1.433 GB, free: 8.723 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006582/1.616, allocations: 2.421 MB / 1.435 GB, free: 6.234 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.616, allocations: 0 / 1.435 GB, free: 6.234 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/1.616, allocations: 71.89 kB / 1.435 GB, free: 6.164 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009618/1.617, allocations: 252.1 kB / 1.435 GB, free: 5.914 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/1.617, allocations: 19.98 kB / 1.435 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008918/1.626, allocations: 4.744 MB / 1.44 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.626, allocations: 0 / 1.44 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/1.632, allocations: 1.639 MB / 1.442 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.633, allocations: 335.4 kB / 1.442 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/1.633, allocations: 27.92 kB / 1.442 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/1.634, allocations: 35.97 kB / 1.442 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/1.634, allocations: 72.55 kB / 1.442 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.954e-05/1.634, allocations: 23.98 kB / 1.442 GB, free: 14.7 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004925/1.639, allocations: 2.464 MB / 1.444 GB, free: 12.22 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.01e-07/1.639, allocations: 0 / 1.444 GB, free: 12.22 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002118/1.641, allocations: 311.5 kB / 1.445 GB, free: 11.92 MB / 1.154 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 (52): * Single equations (assignments): 40 * 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.003037/1.644, allocations: 499.9 kB / 1.445 GB, free: 11.62 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004397/1.648, allocations: 1.055 MB / 1.446 GB, free: 10.53 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.648, allocations: 3.75 kB / 1.446 GB, free: 10.53 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002487/1.651, allocations: 0.683 MB / 1.447 GB, free: 9.824 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.654, allocations: 301.8 kB / 1.447 GB, free: 9.539 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.67, allocations: 4.23 MB / 1.451 GB, free: 5.262 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003305/1.673, allocations: 1.54 MB / 1.453 GB, free: 3.695 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/1.674, allocations: 75.42 kB / 1.453 GB, free: 3.625 MB / 1.154 GB Notification: Performance of SimCode: time 3.075e-06/1.674, allocations: 3.938 kB / 1.453 GB, free: 3.621 MB / 1.154 GB Notification: Performance of Templates: time 0.09686/1.771, allocations: 32.78 MB / 1.485 GB, free: 2.859 MB / 1.186 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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