Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001968/0.001968, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002408/0.002408, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.742 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.356/3.356, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) [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.003226/0.003226, allocations: 64.39 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3413, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.175/0.5163, allocations: 138.5 MB / 1.499 GB, free: 3.035 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02739/0.5437, allocations: 19.72 MB / 1.518 GB, free: 15.26 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.5453, allocations: 71.44 kB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.5471, allocations: 1.169 MB / 1.519 GB, free: 14.02 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.5487, allocations: 0.9146 MB / 1.52 GB, free: 13.1 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008983/0.5496, allocations: 386.9 kB / 1.52 GB, free: 12.72 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.551, allocations: 1.274 MB / 1.522 GB, free: 11.44 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.5518, allocations: 0.5391 MB / 1.522 GB, free: 10.89 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.5525, allocations: 0.5724 MB / 1.523 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.5537, allocations: 0.9877 MB / 1.524 GB, free: 9.328 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.5539, allocations: 64 kB / 1.524 GB, free: 9.266 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.5541, allocations: 108 kB / 1.524 GB, free: 9.16 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.5544, allocations: 328.7 kB / 1.524 GB, free: 8.84 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.5548, allocations: 377.5 kB / 1.525 GB, free: 8.469 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.5562, allocations: 1.241 MB / 1.526 GB, free: 7.223 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5562, allocations: 0 / 1.526 GB, free: 7.223 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5562, allocations: 0 / 1.526 GB, free: 7.223 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.5562, allocations: 4 kB / 1.526 GB, free: 7.219 MB / 1.217 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.002508/0.5587, allocations: 1.503 MB / 1.527 GB, free: 5.68 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.5587, allocations: 11.97 kB / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.5588, allocations: 86.7 kB / 1.527 GB, free: 5.574 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.559, allocations: 140 kB / 1.527 GB, free: 5.438 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000984/0.56, allocations: 0.6179 MB / 1.528 GB, free: 4.777 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.5602, allocations: 100.4 kB / 1.528 GB, free: 4.668 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.5603, allocations: 44 kB / 1.528 GB, free: 4.625 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5613, allocations: 0.5223 MB / 1.529 GB, free: 4.094 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.5613, allocations: 0 / 1.529 GB, free: 4.094 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.5613, allocations: 23.98 kB / 1.529 GB, free: 4.07 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.5614, allocations: 8 kB / 1.529 GB, free: 4.062 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.5623, allocations: 419.7 kB / 1.529 GB, free: 3.648 MB / 1.217 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.003652/0.5659, allocations: 1.912 MB / 1.531 GB, free: 1.68 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.567, allocations: 427.7 kB / 1.531 GB, free: 1.254 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.5676, allocations: 273.3 kB / 1.532 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.5676, allocations: 8.312 kB / 1.532 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006193/0.5682, allocations: 302.6 kB / 1.532 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of pre-optimization done (n=45): time 2.535e-06/0.5682, allocations: 4 kB / 1.532 GB, free: 0.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003182/0.5714, allocations: 1.106 MB / 1.533 GB, free: 15.55 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.5715, allocations: 59.41 kB / 1.533 GB, free: 15.48 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.5739, allocations: 1.788 MB / 1.535 GB, free: 13.68 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.574, allocations: 37.7 kB / 1.535 GB, free: 13.64 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/0.5745, allocations: 0.5223 MB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.5747, allocations: 150.8 kB / 1.536 GB, free: 12.96 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.5749, allocations: 94.34 kB / 1.536 GB, free: 12.86 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5751, allocations: 334.4 kB / 1.536 GB, free: 12.53 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.5756, allocations: 221.2 kB / 1.536 GB, free: 12.31 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.5762, allocations: 325.8 kB / 1.536 GB, free: 11.95 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5773, allocations: 0.5199 MB / 1.537 GB, free: 11.39 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.5773, allocations: 11.86 kB / 1.537 GB, free: 11.38 MB / 1.232 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001859/0.5791, allocations: 0.8479 MB / 1.538 GB, free: 10.53 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5791, allocations: 4 kB / 1.538 GB, free: 10.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5792, allocations: 4 kB / 1.538 GB, free: 10.52 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.5798, allocations: 187.8 kB / 1.538 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.5801, allocations: 91.88 kB / 1.538 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.5842, allocations: 2.862 MB / 1.541 GB, free: 7.273 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.5848, allocations: 75.66 kB / 1.541 GB, free: 7.199 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.5849, allocations: 20 kB / 1.541 GB, free: 7.18 MB / 1.232 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.0005897/0.5854, allocations: 395.2 kB / 1.541 GB, free: 6.785 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.5856, allocations: 123.2 kB / 1.541 GB, free: 6.664 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.5872, allocations: 0.775 MB / 1.542 GB, free: 5.867 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.5872, allocations: 4 kB / 1.542 GB, free: 5.863 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5872, allocations: 11.88 kB / 1.542 GB, free: 5.852 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.5872, allocations: 3.984 kB / 1.542 GB, free: 5.848 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.59, allocations: 1.499 MB / 1.544 GB, free: 4.301 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.59, allocations: 0 / 1.544 GB, free: 4.301 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.5902, allocations: 51.91 kB / 1.544 GB, free: 4.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.5907, allocations: 187.7 kB / 1.544 GB, free: 4.062 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.5908, allocations: 19.97 kB / 1.544 GB, free: 4.043 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004994/0.5958, allocations: 4.316 MB / 1.548 GB, free: 15.49 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5958, allocations: 0 / 1.548 GB, free: 15.49 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.5978, allocations: 1.092 MB / 1.549 GB, free: 14.38 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.5982, allocations: 151.3 kB / 1.549 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-05/0.5983, allocations: 12 kB / 1.549 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.5986, allocations: 27.97 kB / 1.549 GB, free: 14.19 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5988, allocations: 60.25 kB / 1.549 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.5988, allocations: 19.98 kB / 1.549 GB, free: 14.11 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001588/0.6004, allocations: 1.309 MB / 1.551 GB, free: 12.8 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6004, allocations: 0 / 1.551 GB, free: 12.8 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007888/0.6012, allocations: 203.8 kB / 1.551 GB, free: 12.6 MB / 1.248 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.004264/0.6054, allocations: 2.037 MB / 1.553 GB, free: 10.75 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.6071, allocations: 0.7043 MB / 1.554 GB, free: 10.04 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6071, allocations: 0 / 1.554 GB, free: 10.04 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009932/0.6081, allocations: 0.543 MB / 1.554 GB, free: 9.469 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.6091, allocations: 205.8 kB / 1.554 GB, free: 9.277 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.6226, allocations: 8.716 MB / 1.563 GB, free: 356 kB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.6233, allocations: 0.5623 MB / 1.563 GB, free: 15.75 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.6236, allocations: 84.78 kB / 1.563 GB, free: 15.67 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/0.6242, allocations: 415.3 kB / 1.564 GB, free: 15.27 MB / 1.264 GB Notification: Performance of SimCode: time 1.012e-06/0.6242, allocations: 0 / 1.564 GB, free: 15.27 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06278/0.6869, allocations: 23.02 MB / 1.586 GB, free: 8.527 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.57, allocations: 3.938 kB / 1.586 GB, free: 8.523 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.404265522956848]