Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001593/0.001593, allocations: 111.1 kB / 17.96 MB, free: 3.918 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.001719/0.001719, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.383/1.383, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.7 MB / 0.7635 GB, free: 10.17 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 71.89 kB / 1.108 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/0.7459, allocations: 168.7 MB / 1.272 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2073/0.9532, allocations: 157.5 MB / 1.426 GB, free: 6.316 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02734/0.9805, allocations: 21.86 MB / 1.448 GB, free: 400 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.9821, allocations: 55.69 kB / 1.448 GB, free: 344 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.9838, allocations: 1.161 MB / 1.449 GB, free: 15.17 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.9854, allocations: 0.8679 MB / 1.45 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.9865, allocations: 464.8 kB / 1.45 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.9879, allocations: 1.263 MB / 1.451 GB, free: 12.58 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007225/0.9886, allocations: 0.5386 MB / 1.452 GB, free: 12.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000729/0.9894, allocations: 0.5646 MB / 1.452 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.9906, allocations: 1.003 MB / 1.453 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.9907, allocations: 64 kB / 1.453 GB, free: 10.4 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.991, allocations: 104 kB / 1.453 GB, free: 10.3 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.9913, allocations: 320.7 kB / 1.454 GB, free: 9.984 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004649/0.9918, allocations: 492.8 kB / 1.454 GB, free: 9.5 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.9931, allocations: 1.21 MB / 1.455 GB, free: 8.285 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.9931, allocations: 0 / 1.455 GB, free: 8.285 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.153e-06/0.9931, allocations: 0 / 1.455 GB, free: 8.285 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.9931, allocations: 0 / 1.455 GB, free: 8.285 MB / 1.154 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.002461/0.9956, allocations: 1.568 MB / 1.457 GB, free: 6.66 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.9956, allocations: 8.031 kB / 1.457 GB, free: 6.652 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.9957, allocations: 90.7 kB / 1.457 GB, free: 6.555 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.9959, allocations: 140 kB / 1.457 GB, free: 6.418 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/0.9969, allocations: 0.6677 MB / 1.458 GB, free: 5.699 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.997, allocations: 78.67 kB / 1.458 GB, free: 5.617 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.9971, allocations: 43.95 kB / 1.458 GB, free: 5.574 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009809/0.9981, allocations: 0.5223 MB / 1.458 GB, free: 5.035 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.9981, allocations: 8 kB / 1.458 GB, free: 5.027 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.9981, allocations: 16 kB / 1.459 GB, free: 5.012 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.9981, allocations: 8 kB / 1.459 GB, free: 5.004 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.999, allocations: 411.7 kB / 1.459 GB, free: 4.605 MB / 1.154 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.003751/1.003, allocations: 2.793 MB / 1.462 GB, free: 1.562 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.004, allocations: 436.3 kB / 1.462 GB, free: 1.129 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/1.004, allocations: 261.3 kB / 1.462 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/1.004, allocations: 8.328 kB / 1.462 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/1.005, allocations: 306.6 kB / 1.463 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of pre-optimization done (n=45): time 1.833e-06/1.005, allocations: 0 / 1.463 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.002977/1.008, allocations: 1.253 MB / 1.464 GB, free: 15.25 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.008, allocations: 55.41 kB / 1.464 GB, free: 15.18 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/1.01, allocations: 1.756 MB / 1.466 GB, free: 13.42 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/1.01, allocations: 37.7 kB / 1.466 GB, free: 13.38 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/1.011, allocations: 0.5182 MB / 1.466 GB, free: 12.85 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/1.011, allocations: 154.8 kB / 1.466 GB, free: 12.7 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.011, allocations: 98.2 kB / 1.466 GB, free: 12.6 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.011, allocations: 330 kB / 1.467 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/1.011, allocations: 217 kB / 1.467 GB, free: 12.06 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/1.012, allocations: 324.9 kB / 1.467 GB, free: 11.7 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/1.013, allocations: 0.5152 MB / 1.468 GB, free: 11.15 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/1.013, allocations: 7.938 kB / 1.468 GB, free: 11.14 MB / 1.17 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001706/1.015, allocations: 0.8387 MB / 1.469 GB, free: 10.29 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.015, allocations: 11.94 kB / 1.469 GB, free: 10.28 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.015, allocations: 8.125 kB / 1.469 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/1.015, allocations: 184.6 kB / 1.469 GB, free: 10.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/1.016, allocations: 91.86 kB / 1.469 GB, free: 10 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/1.019, allocations: 3.006 MB / 1.472 GB, free: 6.863 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/1.02, allocations: 75.66 kB / 1.472 GB, free: 6.789 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/1.02, allocations: 23.98 kB / 1.472 GB, free: 6.766 MB / 1.17 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.0005272/1.02, allocations: 387.2 kB / 1.472 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/1.021, allocations: 123.2 kB / 1.472 GB, free: 6.254 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/1.022, allocations: 0.7538 MB / 1.473 GB, free: 5.484 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.022, allocations: 8 kB / 1.473 GB, free: 5.477 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.022, allocations: 4 kB / 1.473 GB, free: 5.473 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.022, allocations: 0 / 1.473 GB, free: 5.473 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/1.025, allocations: 1.574 MB / 1.475 GB, free: 3.836 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.025, allocations: 4 kB / 1.475 GB, free: 3.832 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/1.025, allocations: 43.91 kB / 1.475 GB, free: 3.789 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/1.026, allocations: 200.1 kB / 1.475 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/1.026, allocations: 12 kB / 1.475 GB, free: 3.578 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/1.03, allocations: 4.331 MB / 1.479 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.03, allocations: 0 / 1.479 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.032, allocations: 1.071 MB / 1.48 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/1.032, allocations: 224.2 kB / 1.48 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/1.033, allocations: 15.98 kB / 1.48 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/1.033, allocations: 31.97 kB / 1.48 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.033, allocations: 51.92 kB / 1.48 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/1.033, allocations: 12 kB / 1.48 GB, free: 13.53 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001521/1.035, allocations: 1.284 MB / 1.482 GB, free: 12.24 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.035, allocations: 0 / 1.482 GB, free: 12.24 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007449/1.035, allocations: 199.8 kB / 1.482 GB, free: 12.05 MB / 1.186 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.00391/1.039, allocations: 2.007 MB / 1.484 GB, free: 10.21 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001582/1.041, allocations: 0.7075 MB / 1.485 GB, free: 9.484 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.041, allocations: 0 / 1.485 GB, free: 9.484 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008899/1.042, allocations: 0.5203 MB / 1.485 GB, free: 8.938 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/1.043, allocations: 198.9 kB / 1.485 GB, free: 8.754 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.056, allocations: 8.614 MB / 1.494 GB, free: 15.93 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009118/1.057, allocations: 1.161 MB / 1.495 GB, free: 14.73 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003101/1.057, allocations: 96.72 kB / 1.495 GB, free: 14.64 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/1.057, allocations: 403.3 kB / 1.495 GB, free: 14.25 MB / 1.201 GB Notification: Performance of SimCode: time 6.71e-07/1.057, allocations: 0 / 1.495 GB, free: 14.25 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05981/1.117, allocations: 21.44 MB / 1.516 GB, free: 9.031 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.22, allocations: 7.781 kB / 1.516 GB, free: 9.027 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.585168035002425]