Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.001327/0.001327, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001477/0.001477, allocations: 216 kB / 22.99 MB, free: 4.945 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.625/1.625, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.345/3.345, allocations: 0.4892 GB / 0.7951 GB, free: 35.7 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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") [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.002142/0.002142, allocations: 62.75 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4452, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2032/0.6484, allocations: 138.5 MB / 1.462 GB, free: 6.828 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02962/0.678, allocations: 19.71 MB / 1.481 GB, free: 3.062 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.6804, allocations: 71.44 kB / 1.481 GB, free: 2.992 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.6822, allocations: 1.173 MB / 1.482 GB, free: 1.816 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.6843, allocations: 0.9146 MB / 1.483 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.6855, allocations: 382.9 kB / 1.483 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001777/0.6873, allocations: 1.282 MB / 1.485 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008304/0.6881, allocations: 0.5391 MB / 1.485 GB, free: 14.69 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008858/0.689, allocations: 0.5647 MB / 1.486 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.6903, allocations: 0.9838 MB / 1.487 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.6904, allocations: 64 kB / 1.487 GB, free: 13.07 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.6907, allocations: 119.9 kB / 1.487 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.691, allocations: 324.7 kB / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.6914, allocations: 377.5 kB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.6929, allocations: 1.241 MB / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6929, allocations: 4 kB / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6929, allocations: 0 / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.6929, allocations: 0 / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002518/0.6954, allocations: 1.497 MB / 1.49 GB, free: 9.484 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6954, allocations: 12.03 kB / 1.49 GB, free: 9.473 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.6957, allocations: 148 kB / 1.49 GB, free: 9.328 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009832/0.6966, allocations: 0.5987 MB / 1.491 GB, free: 8.688 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.6968, allocations: 100.4 kB / 1.491 GB, free: 8.578 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.6969, allocations: 55.92 kB / 1.491 GB, free: 8.523 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009807/0.6979, allocations: 0.5145 MB / 1.491 GB, free: 7.996 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.6979, allocations: 7.938 kB / 1.492 GB, free: 7.988 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.6979, allocations: 20 kB / 1.492 GB, free: 7.969 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.6979, allocations: 8 kB / 1.492 GB, free: 7.961 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000871/0.6988, allocations: 419.7 kB / 1.492 GB, free: 7.551 MB / 1.186 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.003519/0.7023, allocations: 1.845 MB / 1.494 GB, free: 5.664 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.7034, allocations: 428.4 kB / 1.494 GB, free: 5.234 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.704, allocations: 265.3 kB / 1.494 GB, free: 4.973 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.704, allocations: 4.328 kB / 1.494 GB, free: 4.969 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006223/0.7046, allocations: 310.5 kB / 1.495 GB, free: 4.656 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/0.7046, allocations: 0 / 1.495 GB, free: 4.656 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003086/0.7077, allocations: 1.112 MB / 1.496 GB, free: 3.531 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.7078, allocations: 55.41 kB / 1.496 GB, free: 3.465 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.71, allocations: 1.755 MB / 1.498 GB, free: 1.699 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.71, allocations: 41.69 kB / 1.498 GB, free: 1.652 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.7106, allocations: 0.5259 MB / 1.498 GB, free: 1.121 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.7107, allocations: 150.8 kB / 1.498 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.7109, allocations: 94.34 kB / 1.498 GB, free: 0.875 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7111, allocations: 326 kB / 1.499 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.7116, allocations: 225.2 kB / 1.499 GB, free: 336 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.7122, allocations: 332.7 kB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.7132, allocations: 0.514 MB / 1.5 GB, free: 15.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.7132, allocations: 3.938 kB / 1.5 GB, free: 15.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001783/0.715, allocations: 0.8465 MB / 1.501 GB, free: 14.55 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.715, allocations: 4 kB / 1.501 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.715, allocations: 8.594 kB / 1.501 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/0.7156, allocations: 184.7 kB / 1.501 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.7159, allocations: 91.81 kB / 1.501 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/0.7199, allocations: 2.839 MB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.7204, allocations: 71.62 kB / 1.504 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.7204, allocations: 23.94 kB / 1.504 GB, free: 11.24 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005994/0.721, allocations: 388.9 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.7212, allocations: 127.1 kB / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.7228, allocations: 0.7708 MB / 1.505 GB, free: 9.938 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7229, allocations: 4 kB / 1.505 GB, free: 9.934 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7229, allocations: 8 kB / 1.505 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.7229, allocations: 3.984 kB / 1.505 GB, free: 9.922 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.7256, allocations: 1.439 MB / 1.506 GB, free: 8.441 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7256, allocations: 4 kB / 1.506 GB, free: 8.438 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.7258, allocations: 51.95 kB / 1.506 GB, free: 8.387 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005486/0.7263, allocations: 193.5 kB / 1.507 GB, free: 8.191 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.7264, allocations: 15.98 kB / 1.507 GB, free: 8.176 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/0.7315, allocations: 4.264 MB / 1.511 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7315, allocations: 0 / 1.511 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.7336, allocations: 1.08 MB / 1.512 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.7339, allocations: 151.1 kB / 1.512 GB, free: 2.465 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/0.734, allocations: 12 kB / 1.512 GB, free: 2.453 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.7343, allocations: 39.95 kB / 1.512 GB, free: 2.414 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.7345, allocations: 48.34 kB / 1.512 GB, free: 2.367 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.7345, allocations: 19.98 kB / 1.512 GB, free: 2.348 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001731/0.7363, allocations: 1.28 MB / 1.513 GB, free: 1.062 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7363, allocations: 4 kB / 1.513 GB, free: 1.059 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008308/0.7371, allocations: 207.7 kB / 1.513 GB, free: 0.8555 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.001976/0.7391, allocations: 0.5116 MB / 1.514 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.7407, allocations: 0.7038 MB / 1.515 GB, free: 15.84 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7407, allocations: 0 / 1.515 GB, free: 15.84 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009904/0.7417, allocations: 0.5506 MB / 1.515 GB, free: 15.26 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.7427, allocations: 188.8 kB / 1.515 GB, free: 15.08 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.7469, allocations: 2.485 MB / 1.518 GB, free: 12.56 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.7476, allocations: 0.5505 MB / 1.518 GB, free: 11.98 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.7477, allocations: 47.42 kB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of SimCode: time 7.81e-07/0.7477, allocations: 0 / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of Templates: time 0.02952/0.7772, allocations: 18.52 MB / 1.536 GB, free: 9.438 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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: 15.175458508078009]