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.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.001617/0.001617, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002055/0.002055, allocations: 191.6 kB / 22.11 MB, free: 5.156 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.54/1.54, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.225/3.225, allocations: 495.8 MB / 0.783 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 61.27 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1925/0.5428, allocations: 155.9 MB / 1.459 GB, free: 5.324 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02869/0.5715, allocations: 21.65 MB / 1.48 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.5734, allocations: 75.38 kB / 1.48 GB, free: 15.53 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.5751, allocations: 1.165 MB / 1.481 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.5769, allocations: 0.8796 MB / 1.482 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.5782, allocations: 478.1 kB / 1.483 GB, free: 13.01 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.58, allocations: 1.263 MB / 1.484 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.5807, allocations: 0.5391 MB / 1.484 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/0.5814, allocations: 0.5724 MB / 1.485 GB, free: 10.63 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.5826, allocations: 0.9956 MB / 1.486 GB, free: 9.629 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.5827, allocations: 68 kB / 1.486 GB, free: 9.562 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.5829, allocations: 116 kB / 1.486 GB, free: 9.449 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.5832, allocations: 316.7 kB / 1.486 GB, free: 9.141 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.5838, allocations: 492.8 kB / 1.487 GB, free: 8.656 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.5853, allocations: 1.202 MB / 1.488 GB, free: 7.449 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5853, allocations: 4 kB / 1.488 GB, free: 7.445 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5853, allocations: 0 / 1.488 GB, free: 7.445 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.5853, allocations: 0 / 1.488 GB, free: 7.445 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.002457/0.5878, allocations: 1.489 MB / 1.49 GB, free: 5.914 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5878, allocations: 8.031 kB / 1.49 GB, free: 5.906 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.588, allocations: 144 kB / 1.49 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009069/0.5889, allocations: 0.5983 MB / 1.49 GB, free: 5.129 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.589, allocations: 70.69 kB / 1.49 GB, free: 5.055 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/0.5891, allocations: 63.88 kB / 1.49 GB, free: 4.992 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009655/0.5901, allocations: 0.5145 MB / 1.491 GB, free: 4.465 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5901, allocations: 4 kB / 1.491 GB, free: 4.461 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.5902, allocations: 16 kB / 1.491 GB, free: 4.445 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.5902, allocations: 8 kB / 1.491 GB, free: 4.438 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.5911, allocations: 415.7 kB / 1.491 GB, free: 4.031 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.003813/0.5949, allocations: 2.738 MB / 1.494 GB, free: 1.059 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.5962, allocations: 444.6 kB / 1.494 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.5967, allocations: 261.3 kB / 1.495 GB, free: 368 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.5968, allocations: 8.328 kB / 1.495 GB, free: 360 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006015/0.5974, allocations: 306.4 kB / 1.495 GB, free: 44 kB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.966e-06/0.5974, allocations: 0 / 1.495 GB, free: 44 kB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003024/0.6004, allocations: 1.108 MB / 1.496 GB, free: 14.92 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.6005, allocations: 63.34 kB / 1.496 GB, free: 14.85 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.6024, allocations: 1.748 MB / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.6025, allocations: 33.7 kB / 1.498 GB, free: 13.05 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.603, allocations: 0.526 MB / 1.498 GB, free: 12.52 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.6031, allocations: 150.8 kB / 1.498 GB, free: 12.37 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.6033, allocations: 98.3 kB / 1.499 GB, free: 12.27 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6034, allocations: 326 kB / 1.499 GB, free: 11.95 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.6039, allocations: 221.2 kB / 1.499 GB, free: 11.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.6045, allocations: 325.8 kB / 1.499 GB, free: 11.37 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/0.6054, allocations: 0.5113 MB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6054, allocations: 4 kB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001708/0.6072, allocations: 0.8504 MB / 1.501 GB, free: 9.957 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6072, allocations: 8 kB / 1.501 GB, free: 9.949 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6072, allocations: 0 / 1.501 GB, free: 9.949 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.6077, allocations: 184.6 kB / 1.501 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.6081, allocations: 96 kB / 1.501 GB, free: 9.672 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.6119, allocations: 2.905 MB / 1.504 GB, free: 6.656 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.6123, allocations: 71.64 kB / 1.504 GB, free: 6.586 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.6124, allocations: 20 kB / 1.504 GB, free: 6.566 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.0005154/0.6129, allocations: 387.9 kB / 1.504 GB, free: 6.18 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.613, allocations: 127.2 kB / 1.504 GB, free: 6.055 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.6146, allocations: 0.7566 MB / 1.505 GB, free: 5.277 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6146, allocations: 4 kB / 1.505 GB, free: 5.273 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6146, allocations: 4 kB / 1.505 GB, free: 5.27 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6146, allocations: 0 / 1.505 GB, free: 5.27 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.6172, allocations: 1.546 MB / 1.507 GB, free: 3.672 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.6172, allocations: 3.984 kB / 1.507 GB, free: 3.668 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.6174, allocations: 47.91 kB / 1.507 GB, free: 3.621 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/0.6179, allocations: 197.5 kB / 1.507 GB, free: 3.422 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.618, allocations: 15.94 kB / 1.507 GB, free: 3.406 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004509/0.6225, allocations: 4.134 MB / 1.511 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6225, allocations: 0 / 1.511 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.6245, allocations: 1.071 MB / 1.512 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.6247, allocations: 151.1 kB / 1.512 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.6248, allocations: 12 kB / 1.512 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.6252, allocations: 35.95 kB / 1.512 GB, free: 13.76 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6253, allocations: 51.91 kB / 1.512 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.6253, allocations: 19.98 kB / 1.512 GB, free: 13.69 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001535/0.6269, allocations: 1.277 MB / 1.514 GB, free: 12.41 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6269, allocations: 0 / 1.514 GB, free: 12.41 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007768/0.6277, allocations: 199.8 kB / 1.514 GB, free: 12.21 MB / 1.217 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 (29): * Single equations (assignments): 21 * 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.001838/0.6295, allocations: 482.4 kB / 1.514 GB, free: 11.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.6311, allocations: 0.7036 MB / 1.515 GB, free: 11.2 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6311, allocations: 4.125 kB / 1.515 GB, free: 11.2 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00089/0.632, allocations: 0.5287 MB / 1.515 GB, free: 10.64 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.6329, allocations: 211.7 kB / 1.516 GB, free: 10.45 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.637, allocations: 2.409 MB / 1.518 GB, free: 8.004 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009584/0.638, allocations: 1.15 MB / 1.519 GB, free: 6.828 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002802/0.6383, allocations: 92.77 kB / 1.519 GB, free: 6.734 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.6384, allocations: 47.42 kB / 1.519 GB, free: 6.688 MB / 1.217 GB Notification: Performance of SimCode: time 8.51e-07/0.6384, allocations: 0 / 1.519 GB, free: 6.688 MB / 1.217 GB Notification: Performance of Templates: time 0.02422/0.6626, allocations: 10.98 MB / 1.53 GB, free: 11.84 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/jenkins/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: 10.672861805185676]