Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001359/0.001359, 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.001461/0.001461, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.816 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.274/3.274, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.002083/0.002083, allocations: 70.31 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 181.9 MB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1778/0.5013, allocations: 138.5 MB / 1.499 GB, free: 3.125 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0266/0.5279, allocations: 19.72 MB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.5295, allocations: 71.44 kB / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.5312, allocations: 1.165 MB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.5328, allocations: 0.9185 MB / 1.52 GB, free: 13.2 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009526/0.5338, allocations: 386.8 kB / 1.52 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.5353, allocations: 1.278 MB / 1.522 GB, free: 11.53 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007664/0.536, allocations: 0.539 MB / 1.522 GB, free: 10.99 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007363/0.5368, allocations: 0.5724 MB / 1.523 GB, free: 10.41 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.538, allocations: 0.9877 MB / 1.524 GB, free: 9.422 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.5381, allocations: 64 kB / 1.524 GB, free: 9.359 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.5384, allocations: 108 kB / 1.524 GB, free: 9.254 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.5387, allocations: 328.7 kB / 1.524 GB, free: 8.934 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.5391, allocations: 389.5 kB / 1.525 GB, free: 8.551 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.5405, allocations: 1.225 MB / 1.526 GB, free: 7.32 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5405, allocations: 0 / 1.526 GB, free: 7.32 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5405, allocations: 3.938 kB / 1.526 GB, free: 7.316 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.5405, allocations: 0 / 1.526 GB, free: 7.316 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.002575/0.5431, allocations: 1.505 MB / 1.527 GB, free: 5.773 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5432, allocations: 8.031 kB / 1.527 GB, free: 5.766 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.5433, allocations: 82.7 kB / 1.527 GB, free: 5.676 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.5435, allocations: 144 kB / 1.527 GB, free: 5.535 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009836/0.5445, allocations: 0.6101 MB / 1.528 GB, free: 4.883 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.5446, allocations: 96.39 kB / 1.528 GB, free: 4.777 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.995e-05/0.5447, allocations: 48 kB / 1.528 GB, free: 4.73 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.5457, allocations: 0.5184 MB / 1.529 GB, free: 4.203 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.5458, allocations: 8 kB / 1.529 GB, free: 4.195 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.5458, allocations: 23.98 kB / 1.529 GB, free: 4.172 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5458, allocations: 8 kB / 1.529 GB, free: 4.164 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.5467, allocations: 407.7 kB / 1.529 GB, free: 3.762 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.003598/0.5503, allocations: 1.855 MB / 1.531 GB, free: 1.863 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.5514, allocations: 424.3 kB / 1.531 GB, free: 1.438 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.5521, allocations: 286 kB / 1.532 GB, free: 1.156 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.5521, allocations: 8.328 kB / 1.532 GB, free: 1.148 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006231/0.5528, allocations: 288.8 kB / 1.532 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 2.514e-06/0.5528, allocations: 0 / 1.532 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002856/0.5556, allocations: 1.005 MB / 1.533 GB, free: 15.84 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.5557, allocations: 55.41 kB / 1.533 GB, free: 15.77 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.558, allocations: 1.8 MB / 1.535 GB, free: 13.96 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 6.905e-05/0.5581, allocations: 37.7 kB / 1.535 GB, free: 13.92 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005694/0.5586, allocations: 0.5255 MB / 1.535 GB, free: 13.39 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.5588, allocations: 158.7 kB / 1.535 GB, free: 13.23 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.559, allocations: 102.3 kB / 1.535 GB, free: 13.12 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5592, allocations: 322 kB / 1.536 GB, free: 12.8 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.5598, allocations: 217.2 kB / 1.536 GB, free: 12.59 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.5604, allocations: 344.1 kB / 1.536 GB, free: 12.21 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.5615, allocations: 0.5302 MB / 1.537 GB, free: 11.63 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5615, allocations: 0 / 1.537 GB, free: 11.63 MB / 1.233 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001799/0.5633, allocations: 0.8199 MB / 1.538 GB, free: 10.8 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.5633, allocations: 8 kB / 1.538 GB, free: 10.79 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.5633, allocations: 4 kB / 1.538 GB, free: 10.79 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/0.5638, allocations: 139.2 kB / 1.538 GB, free: 10.65 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.5642, allocations: 103.8 kB / 1.538 GB, free: 10.55 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/0.5674, allocations: 2.474 MB / 1.54 GB, free: 7.973 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.5679, allocations: 71.59 kB / 1.54 GB, free: 7.902 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.568, allocations: 24 kB / 1.54 GB, free: 7.879 MB / 1.233 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005655/0.5685, allocations: 396.2 kB / 1.541 GB, free: 7.484 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.5687, allocations: 135.1 kB / 1.541 GB, free: 7.352 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.5702, allocations: 0.7206 MB / 1.542 GB, free: 6.613 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5702, allocations: 4 kB / 1.542 GB, free: 6.609 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5702, allocations: 0 / 1.542 GB, free: 6.609 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5702, allocations: 4 kB / 1.542 GB, free: 6.605 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.5728, allocations: 1.442 MB / 1.543 GB, free: 5.113 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5728, allocations: 3.984 kB / 1.543 GB, free: 5.109 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.5731, allocations: 43.97 kB / 1.543 GB, free: 5.066 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.5735, allocations: 169.5 kB / 1.543 GB, free: 4.895 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.5735, allocations: 8 kB / 1.543 GB, free: 4.887 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004441/0.578, allocations: 4.014 MB / 1.547 GB, free: 0.6445 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.578, allocations: 3.984 kB / 1.547 GB, free: 0.6406 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.58, allocations: 1.009 MB / 1.548 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.5803, allocations: 139.1 kB / 1.548 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.5804, allocations: 19.92 kB / 1.548 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.5808, allocations: 35.97 kB / 1.548 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.5809, allocations: 51.84 kB / 1.548 GB, free: 15.36 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.5809, allocations: 19.98 kB / 1.548 GB, free: 15.34 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001655/0.5826, allocations: 1.309 MB / 1.55 GB, free: 14.03 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5826, allocations: 0 / 1.55 GB, free: 14.03 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008047/0.5834, allocations: 199.7 kB / 1.55 GB, free: 13.84 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,12,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.004127/0.5875, allocations: 1.973 MB / 1.552 GB, free: 12.04 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.589, allocations: 0.647 MB / 1.552 GB, free: 11.38 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.589, allocations: 0 / 1.552 GB, free: 11.38 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000935/0.59, allocations: 0.5359 MB / 1.553 GB, free: 10.82 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.591, allocations: 194.2 kB / 1.553 GB, free: 10.64 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.6047, allocations: 8.602 MB / 1.562 GB, free: 1.809 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.6054, allocations: 0.5584 MB / 1.562 GB, free: 1.219 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000348/0.6057, allocations: 100.7 kB / 1.562 GB, free: 1.121 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.6063, allocations: 415.3 kB / 1.563 GB, free: 0.7148 MB / 1.248 GB Notification: Performance of SimCode: time 1.082e-06/0.6063, allocations: 0 / 1.563 GB, free: 0.7148 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06282/0.6691, allocations: 22.59 MB / 1.585 GB, free: 10.39 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.46, allocations: 5.281 kB / 1.585 GB, free: 10.39 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.16190762165934]