Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001554/0.001554, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001688/0.001688, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.069/3.069, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="cs",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.0019/0.0019, allocations: 66.02 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3318, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1966/0.5284, allocations: 160.6 MB / 1.502 GB, free: 14.76 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.008992/0.5374, allocations: 5.067 MB / 1.507 GB, free: 9.684 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.5386, allocations: 51.56 kB / 1.507 GB, free: 9.633 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.5399, allocations: 413.5 kB / 1.507 GB, free: 9.227 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004584/0.5445, allocations: 1.766 MB / 1.509 GB, free: 7.453 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.5467, allocations: 0.8201 MB / 1.51 GB, free: 6.637 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003761/0.5504, allocations: 2.278 MB / 1.512 GB, free: 4.348 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.5517, allocations: 0.5529 MB / 1.513 GB, free: 3.777 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.5539, allocations: 0.9888 MB / 1.514 GB, free: 2.785 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.5562, allocations: 0.7174 MB / 1.514 GB, free: 2.074 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.5564, allocations: 76 kB / 1.515 GB, free: 2 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.559, allocations: 1.161 MB / 1.516 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000496/0.5595, allocations: 331 kB / 1.516 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006653/0.5602, allocations: 390.3 kB / 1.516 GB, free: 132 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.5633, allocations: 1.643 MB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5634, allocations: 0 / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5634, allocations: 4 kB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.5634, allocations: 0 / 1.518 GB, free: 14.48 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002019/0.5654, allocations: 1.127 MB / 1.519 GB, free: 13.31 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.5654, allocations: 12.03 kB / 1.519 GB, free: 13.3 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.547e-05/0.5655, allocations: 13.31 kB / 1.519 GB, free: 13.29 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.5656, allocations: 102.5 kB / 1.519 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.5675, allocations: 283.1 kB / 1.519 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.5687, allocations: 0.6422 MB / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.5688, allocations: 57.23 kB / 1.52 GB, free: 12.18 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5689, allocations: 56 kB / 1.52 GB, free: 12.12 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5701, allocations: 0.7851 MB / 1.521 GB, free: 11.28 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.5702, allocations: 0 / 1.521 GB, free: 11.28 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.5702, allocations: 24 kB / 1.521 GB, free: 11.26 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.5703, allocations: 21.31 kB / 1.521 GB, free: 11.24 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009561/0.5712, allocations: 0.5048 MB / 1.521 GB, free: 10.73 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.5743, allocations: 1.578 MB / 1.523 GB, free: 9.109 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.5752, allocations: 424.2 kB / 1.523 GB, free: 8.688 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.5755, allocations: 208.8 kB / 1.524 GB, free: 8.48 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.5757, allocations: 19.98 kB / 1.524 GB, free: 8.461 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.5757, allocations: 38.56 kB / 1.524 GB, free: 8.414 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.5757, allocations: 0 / 1.524 GB, free: 8.414 MB / 1.217 GB Notification: Performance of matching and sorting (n=48): time 0.003083/0.5788, allocations: 1.381 MB / 1.525 GB, free: 7 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5789, allocations: 55.84 kB / 1.525 GB, free: 6.934 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/0.5796, allocations: 0.5421 MB / 1.526 GB, free: 6.383 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.5796, allocations: 37.7 kB / 1.526 GB, free: 6.34 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.5799, allocations: 333.1 kB / 1.526 GB, free: 6.008 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.5801, allocations: 178.5 kB / 1.526 GB, free: 5.832 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.5802, allocations: 86.16 kB / 1.526 GB, free: 5.742 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.5804, allocations: 370.8 kB / 1.527 GB, free: 5.371 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.5807, allocations: 172.9 kB / 1.527 GB, free: 5.203 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.5812, allocations: 366.9 kB / 1.527 GB, free: 4.801 MB / 1.217 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.5847, allocations: 1.292 MB / 1.528 GB, free: 3.492 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5847, allocations: 0 / 1.528 GB, free: 3.492 MB / 1.217 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009869/0.5857, allocations: 0.5385 MB / 1.529 GB, free: 2.949 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5857, allocations: 4 kB / 1.529 GB, free: 2.945 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5857, allocations: 4 kB / 1.529 GB, free: 2.941 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5857, allocations: 4 kB / 1.529 GB, free: 2.938 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.5861, allocations: 91.84 kB / 1.529 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.5861, allocations: 7.984 kB / 1.529 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/0.5868, allocations: 17.81 kB / 1.529 GB, free: 2.824 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.5868, allocations: 20.14 kB / 1.529 GB, free: 2.805 MB / 1.217 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003856/0.5872, allocations: 252.3 kB / 1.529 GB, free: 2.551 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.5873, allocations: 75.52 kB / 1.529 GB, free: 2.477 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.5875, allocations: 82.45 kB / 1.529 GB, free: 2.398 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5875, allocations: 4 kB / 1.529 GB, free: 2.395 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.5875, allocations: 3.984 kB / 1.529 GB, free: 2.391 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007718/0.5883, allocations: 0.5105 MB / 1.53 GB, free: 1.848 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.5908, allocations: 1.435 MB / 1.531 GB, free: 304 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.5908, allocations: 4.625 kB / 1.531 GB, free: 300 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.5913, allocations: 115.8 kB / 1.531 GB, free: 184 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.5913, allocations: 12 kB / 1.531 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.5914, allocations: 16 kB / 1.531 GB, free: 156 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.5914, allocations: 15.94 kB / 1.531 GB, free: 140 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.5914, allocations: 7.938 kB / 1.531 GB, free: 132 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.5927, allocations: 0.8951 MB / 1.532 GB, free: 15.16 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.593, allocations: 123.5 kB / 1.532 GB, free: 15.04 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5931, allocations: 27.98 kB / 1.532 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.5937, allocations: 25.31 kB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.5938, allocations: 43.81 kB / 1.533 GB, free: 14.94 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.5938, allocations: 31.98 kB / 1.533 GB, free: 14.91 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005099/0.5943, allocations: 390.8 kB / 1.533 GB, free: 14.53 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5943, allocations: 0 / 1.533 GB, free: 14.53 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007488/0.5951, allocations: 200 kB / 1.533 GB, free: 14.34 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/0.5969, allocations: 1.53 MB / 1.535 GB, free: 12.72 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008559/0.5978, allocations: 421.5 kB / 1.535 GB, free: 12.3 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5978, allocations: 4 kB / 1.535 GB, free: 12.3 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.5982, allocations: 219.6 kB / 1.535 GB, free: 12.09 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.6004, allocations: 493.3 kB / 1.536 GB, free: 11.61 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008161/0.6085, allocations: 5.513 MB / 1.541 GB, free: 5.875 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.609, allocations: 382.9 kB / 1.541 GB, free: 5.469 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006401/0.6096, allocations: 165.9 kB / 1.542 GB, free: 5.305 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.61, allocations: 251.4 kB / 1.542 GB, free: 5.062 MB / 1.232 GB Notification: Performance of SimCode: time 8.71e-07/0.61, allocations: 0 / 1.542 GB, free: 5.062 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/0.6659, allocations: 22.35 MB / 1.564 GB, free: 15.23 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.15, allocations: 15.92 kB / 1.564 GB, free: 15.21 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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: 19.604739315924235]