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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 176] 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.00199/0.00199, allocations: 67.89 kB / 1.057 GB, free: 1.992 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3826, allocations: 160.7 MB / 1.214 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 1.218/1.6, allocations: 158.1 MB / 1.368 GB, free: 2.301 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04045/1.641, allocations: 22.14 MB / 1.39 GB, free: 1.914 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004678/1.646, allocations: 57.56 kB / 1.39 GB, free: 1.895 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004219/1.65, allocations: 2.169 MB / 1.392 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004405/1.654, allocations: 1.469 MB / 1.394 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/1.657, allocations: 0.6167 MB / 1.394 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00477/1.662, allocations: 1.942 MB / 1.396 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/1.664, allocations: 0.9353 MB / 1.397 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/1.667, allocations: 0.9217 MB / 1.398 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00381/1.67, allocations: 1.762 MB / 1.4 GB, free: 12.49 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003428/1.671, allocations: 97.47 kB / 1.4 GB, free: 12.49 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007309/1.672, allocations: 139 kB / 1.4 GB, free: 12.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000751/1.672, allocations: 0.5596 MB / 1.4 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/1.673, allocations: 0.804 MB / 1.401 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/1.677, allocations: 1.949 MB / 1.403 GB, free: 10.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.677, allocations: 0 / 1.403 GB, free: 10.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.745e-06/1.677, allocations: 2.312 kB / 1.403 GB, free: 10.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.821e-05/1.677, allocations: 4 kB / 1.403 GB, free: 10.16 MB / 1.076 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.004707/1.681, allocations: 2.424 MB / 1.406 GB, free: 8.309 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/1.681, allocations: 7.688 kB / 1.406 GB, free: 8.309 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/1.682, allocations: 254.3 kB / 1.406 GB, free: 8.172 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/1.683, allocations: 1.06 MB / 1.407 GB, free: 7.316 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/1.684, allocations: 92.38 kB / 1.407 GB, free: 7.254 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/1.684, allocations: 71.44 kB / 1.407 GB, free: 7.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/1.685, allocations: 0.7832 MB / 1.408 GB, free: 6.762 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/1.685, allocations: 0 / 1.408 GB, free: 6.762 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/1.686, allocations: 29.12 kB / 1.408 GB, free: 6.738 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/1.686, allocations: 17.47 kB / 1.408 GB, free: 6.738 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/1.687, allocations: 0.634 MB / 1.408 GB, free: 6.434 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006606/1.694, allocations: 3.73 MB / 1.412 GB, free: 3.418 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/1.695, allocations: 0.6953 MB / 1.413 GB, free: 3.059 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008441/1.696, allocations: 387.7 kB / 1.413 GB, free: 2.871 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/1.696, allocations: 16.34 kB / 1.413 GB, free: 2.863 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009217/1.697, allocations: 445.5 kB / 1.414 GB, free: 2.602 MB / 1.076 GB Notification: Performance of pre-optimization done (n=73): time 3.807e-06/1.697, allocations: 0 / 1.414 GB, free: 2.602 MB / 1.076 GB Notification: Performance of matching and sorting (n=73): time 0.004907/1.702, allocations: 1.83 MB / 1.415 GB, free: 1.562 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/1.702, allocations: 67.39 kB / 1.415 GB, free: 1.492 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/1.707, allocations: 3.37 MB / 1.419 GB, free: 15.11 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/1.707, allocations: 45.7 kB / 1.419 GB, free: 15.05 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.708, allocations: 0.9219 MB / 1.42 GB, free: 14.13 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/1.708, allocations: 250 kB / 1.42 GB, free: 13.88 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/1.708, allocations: 134.7 kB / 1.42 GB, free: 13.75 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.709, allocations: 341.9 kB / 1.42 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007482/1.709, allocations: 324.4 kB / 1.421 GB, free: 13.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008381/1.71, allocations: 471.9 kB / 1.421 GB, free: 12.58 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/1.712, allocations: 0.7509 MB / 1.422 GB, free: 11.79 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.712, allocations: 0 / 1.422 GB, free: 11.79 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002879/1.715, allocations: 1.251 MB / 1.423 GB, free: 10.53 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.715, allocations: 5.875 kB / 1.423 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.715, allocations: 4 kB / 1.423 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/1.715, allocations: 261.5 kB / 1.423 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/1.716, allocations: 143.7 kB / 1.423 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/1.722, allocations: 4.757 MB / 1.428 GB, free: 5.086 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.723, allocations: 103.5 kB / 1.428 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/1.723, allocations: 28 kB / 1.428 GB, free: 4.957 MB / 1.092 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.001258/1.724, allocations: 0.6029 MB / 1.429 GB, free: 4.344 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/1.724, allocations: 226.5 kB / 1.429 GB, free: 4.121 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/1.725, allocations: 262.9 kB / 1.429 GB, free: 3.863 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.725, allocations: 4 kB / 1.429 GB, free: 3.859 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/1.725, allocations: 7.938 kB / 1.429 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.725, allocations: 7.922 kB / 1.429 GB, free: 3.844 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/1.729, allocations: 2.397 MB / 1.432 GB, free: 1.383 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.729, allocations: 3.984 kB / 1.432 GB, free: 1.379 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/1.73, allocations: 75.91 kB / 1.432 GB, free: 1.305 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006686/1.73, allocations: 247.7 kB / 1.432 GB, free: 1.059 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/1.73, allocations: 20.03 kB / 1.432 GB, free: 1.039 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/1.736, allocations: 4.761 MB / 1.437 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.736, allocations: 4.062 kB / 1.437 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/1.74, allocations: 1.627 MB / 1.438 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007911/1.74, allocations: 339.7 kB / 1.438 GB, free: 9.992 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/1.741, allocations: 16 kB / 1.439 GB, free: 9.977 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/1.741, allocations: 43.95 kB / 1.439 GB, free: 9.934 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/1.741, allocations: 72.55 kB / 1.439 GB, free: 9.863 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/1.741, allocations: 27.98 kB / 1.439 GB, free: 9.836 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003478/1.745, allocations: 2.46 MB / 1.441 GB, free: 7.363 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.745, allocations: 0 / 1.441 GB, free: 7.363 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001299/1.746, allocations: 299.7 kB / 1.441 GB, free: 7.07 MB / 1.107 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.002071/1.748, allocations: 0.4962 MB / 1.442 GB, free: 6.77 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00255/1.751, allocations: 1.055 MB / 1.443 GB, free: 5.691 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.751, allocations: 3.75 kB / 1.443 GB, free: 5.688 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/1.752, allocations: 0.683 MB / 1.444 GB, free: 4.977 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.754, allocations: 299.5 kB / 1.444 GB, free: 4.695 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007995/1.762, allocations: 4.204 MB / 1.448 GB, free: 452 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/1.763, allocations: 1.548 MB / 1.449 GB, free: 14.86 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/1.764, allocations: 67.42 kB / 1.449 GB, free: 14.8 MB / 1.123 GB Notification: Performance of SimCode: time 1.734e-06/1.764, allocations: 4 kB / 1.449 GB, free: 14.8 MB / 1.123 GB Notification: Performance of Templates: time 0.05619/1.82, allocations: 32.75 MB / 1.481 GB, free: 14.07 MB / 1.154 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_2/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 [Calling sys.exit(0), Time elapsed: 16.94067344511859]