Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.001863/0.001863, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002365/0.002365, allocations: 215.3 kB / 23.01 MB, free: 4.602 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.235/3.235, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [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.002036/0.002036, allocations: 67.64 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3365, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1918/0.5283, allocations: 160.8 MB / 1.511 GB, free: 6.516 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02904/0.5573, allocations: 22.06 MB / 1.533 GB, free: 404 kB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.5592, allocations: 75.38 kB / 1.533 GB, free: 328 kB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.5611, allocations: 1.352 MB / 1.534 GB, free: 14.96 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.563, allocations: 1.043 MB / 1.535 GB, free: 13.92 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.5642, allocations: 458.4 kB / 1.536 GB, free: 13.47 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.5659, allocations: 1.461 MB / 1.537 GB, free: 12 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.5668, allocations: 0.6488 MB / 1.538 GB, free: 11.33 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008696/0.5677, allocations: 0.6775 MB / 1.538 GB, free: 10.65 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.5691, allocations: 1.203 MB / 1.539 GB, free: 9.449 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.5692, allocations: 76 kB / 1.539 GB, free: 9.375 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.5695, allocations: 128 kB / 1.54 GB, free: 9.25 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.5698, allocations: 384.2 kB / 1.54 GB, free: 8.871 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.5703, allocations: 0.5626 MB / 1.541 GB, free: 8.305 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.5719, allocations: 1.384 MB / 1.542 GB, free: 6.914 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5719, allocations: 4 kB / 1.542 GB, free: 6.91 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5719, allocations: 0 / 1.542 GB, free: 6.91 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.5719, allocations: 0 / 1.542 GB, free: 6.91 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002903/0.5748, allocations: 1.732 MB / 1.544 GB, free: 5.137 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5749, allocations: 12.03 kB / 1.544 GB, free: 5.125 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.5752, allocations: 171.8 kB / 1.544 GB, free: 4.957 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5763, allocations: 0.7034 MB / 1.544 GB, free: 4.223 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.5764, allocations: 112.4 kB / 1.545 GB, free: 4.102 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/0.5765, allocations: 48 kB / 1.545 GB, free: 4.055 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.5776, allocations: 0.573 MB / 1.545 GB, free: 3.465 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5776, allocations: 0 / 1.545 GB, free: 3.465 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.5776, allocations: 24 kB / 1.545 GB, free: 3.441 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.5777, allocations: 12 kB / 1.545 GB, free: 3.43 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.5786, allocations: 447.6 kB / 1.546 GB, free: 2.996 MB / 1.232 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.004193/0.5828, allocations: 2.971 MB / 1.549 GB, free: 15.76 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.5839, allocations: 468.2 kB / 1.549 GB, free: 15.29 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.5845, allocations: 297.2 kB / 1.549 GB, free: 15 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.5845, allocations: 8.312 kB / 1.549 GB, free: 14.99 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006526/0.5852, allocations: 337.1 kB / 1.55 GB, free: 14.65 MB / 1.248 GB Notification: Performance of pre-optimization done (n=52): time 2.144e-06/0.5852, allocations: 0 / 1.55 GB, free: 14.65 MB / 1.248 GB Notification: Performance of matching and sorting (n=52): time 0.003136/0.5883, allocations: 1.198 MB / 1.551 GB, free: 13.44 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.5884, allocations: 59.84 kB / 1.551 GB, free: 13.37 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.5908, allocations: 2.153 MB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.5909, allocations: 41.7 kB / 1.553 GB, free: 11.16 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005821/0.5914, allocations: 0.629 MB / 1.554 GB, free: 10.53 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.5916, allocations: 174.6 kB / 1.554 GB, free: 10.36 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.5918, allocations: 106.3 kB / 1.554 GB, free: 10.25 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5919, allocations: 334 kB / 1.554 GB, free: 9.914 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.5925, allocations: 229.2 kB / 1.554 GB, free: 9.691 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.5931, allocations: 352.2 kB / 1.555 GB, free: 9.309 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5941, allocations: 0.5475 MB / 1.555 GB, free: 8.723 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5941, allocations: 0 / 1.555 GB, free: 8.723 MB / 1.248 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001816/0.596, allocations: 0.9163 MB / 1.556 GB, free: 7.797 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.596, allocations: 8.547 kB / 1.556 GB, free: 7.789 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.596, allocations: 8 kB / 1.556 GB, free: 7.781 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.5965, allocations: 194.7 kB / 1.556 GB, free: 7.59 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.5969, allocations: 107.8 kB / 1.556 GB, free: 7.484 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/0.6008, allocations: 2.947 MB / 1.559 GB, free: 4.422 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.6013, allocations: 83.45 kB / 1.559 GB, free: 4.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.6013, allocations: 24 kB / 1.559 GB, free: 4.316 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.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,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006074/0.602, allocations: 444.2 kB / 1.56 GB, free: 3.875 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.6021, allocations: 147 kB / 1.56 GB, free: 3.73 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.6038, allocations: 0.8476 MB / 1.561 GB, free: 2.867 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6038, allocations: 4 kB / 1.561 GB, free: 2.863 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6039, allocations: 4 kB / 1.561 GB, free: 2.859 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6039, allocations: 3.984 kB / 1.561 GB, free: 2.855 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.6068, allocations: 1.719 MB / 1.562 GB, free: 1.078 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6068, allocations: 4 kB / 1.563 GB, free: 1.074 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.6071, allocations: 47.97 kB / 1.563 GB, free: 1.027 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/0.6076, allocations: 199.5 kB / 1.563 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.6076, allocations: 15.98 kB / 1.563 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005715/0.6134, allocations: 4.393 MB / 1.567 GB, free: 12.19 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6134, allocations: 0 / 1.567 GB, free: 12.19 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.6159, allocations: 1.179 MB / 1.568 GB, free: 10.98 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/0.6164, allocations: 170.9 kB / 1.568 GB, free: 10.81 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.6165, allocations: 12 kB / 1.568 GB, free: 10.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.6168, allocations: 35.95 kB / 1.568 GB, free: 10.77 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.617, allocations: 60.27 kB / 1.568 GB, free: 10.71 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.6171, allocations: 20 kB / 1.568 GB, free: 10.69 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002138/0.6192, allocations: 1.573 MB / 1.57 GB, free: 9.117 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6192, allocations: 0 / 1.57 GB, free: 9.117 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009757/0.6202, allocations: 219.7 kB / 1.57 GB, free: 8.902 MB / 1.264 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001951/0.6221, allocations: 0.4978 MB / 1.571 GB, free: 8.586 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.6239, allocations: 0.7354 MB / 1.571 GB, free: 7.84 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.6239, allocations: 0 / 1.571 GB, free: 7.84 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6249, allocations: 0.5587 MB / 1.572 GB, free: 7.254 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.6261, allocations: 233.2 kB / 1.572 GB, free: 7.035 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.6313, allocations: 2.918 MB / 1.575 GB, free: 4.07 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.6323, allocations: 1.242 MB / 1.576 GB, free: 2.797 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.6325, allocations: 55.42 kB / 1.576 GB, free: 2.742 MB / 1.264 GB Notification: Performance of SimCode: time 1.452e-06/0.6325, allocations: 0 / 1.576 GB, free: 2.742 MB / 1.264 GB Notification: Performance of Templates: time 0.03/0.6625, allocations: 20.77 MB / 1.597 GB, free: 13.99 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.272675009997329]