Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001683/0.001683, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001672/0.001672, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.363/1.363, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.956/2.956, allocations: 0.49 GB / 0.7916 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.002023/0.002023, allocations: 74.62 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2055/0.5375, allocations: 185.5 MB / 1.502 GB, free: 9.211 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009174/0.5466, allocations: 5.393 MB / 1.507 GB, free: 3.809 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.5479, allocations: 43.62 kB / 1.507 GB, free: 3.766 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.5495, allocations: 461.3 kB / 1.508 GB, free: 3.312 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004459/0.5539, allocations: 1.735 MB / 1.509 GB, free: 1.57 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.5561, allocations: 0.8134 MB / 1.51 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003095/0.5592, allocations: 2.208 MB / 1.512 GB, free: 14.55 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000991/0.5602, allocations: 0.5798 MB / 1.513 GB, free: 13.96 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.5621, allocations: 0.9966 MB / 1.514 GB, free: 12.96 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.564, allocations: 0.7166 MB / 1.515 GB, free: 12.25 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.5642, allocations: 76 kB / 1.515 GB, free: 12.18 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.5674, allocations: 1.469 MB / 1.516 GB, free: 10.7 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004766/0.5678, allocations: 331 kB / 1.516 GB, free: 10.38 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007696/0.5686, allocations: 473.8 kB / 1.517 GB, free: 9.914 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.5716, allocations: 1.67 MB / 1.518 GB, free: 8.238 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5716, allocations: 0 / 1.518 GB, free: 8.238 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5716, allocations: 4 kB / 1.518 GB, free: 8.234 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.93e-05/0.5716, allocations: 0 / 1.518 GB, free: 8.234 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.002276/0.5739, allocations: 1.202 MB / 1.52 GB, free: 6.977 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.574, allocations: 15.98 kB / 1.52 GB, free: 6.961 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.5741, allocations: 102.5 kB / 1.52 GB, free: 6.852 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.576, allocations: 279.2 kB / 1.52 GB, free: 6.578 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.5774, allocations: 0.7182 MB / 1.521 GB, free: 5.82 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.5774, allocations: 49.25 kB / 1.521 GB, free: 5.773 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5775, allocations: 60 kB / 1.521 GB, free: 5.715 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.5787, allocations: 0.5765 MB / 1.521 GB, free: 5.129 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5787, allocations: 3.938 kB / 1.521 GB, free: 5.125 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.5787, allocations: 28 kB / 1.521 GB, free: 5.098 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.5788, allocations: 21.31 kB / 1.521 GB, free: 5.078 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009648/0.5797, allocations: 0.5009 MB / 1.522 GB, free: 4.578 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003602/0.5833, allocations: 2.539 MB / 1.524 GB, free: 1.809 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008382/0.5842, allocations: 410.8 kB / 1.525 GB, free: 1.398 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.5845, allocations: 218.4 kB / 1.525 GB, free: 1.184 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.5847, allocations: 101.1 kB / 1.525 GB, free: 1.066 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5848, allocations: 34.56 kB / 1.525 GB, free: 1.023 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 4.458e-06/0.5848, allocations: 7.922 kB / 1.525 GB, free: 1.016 MB / 1.217 GB Notification: Performance of matching and sorting (n=48): time 0.00311/0.5879, allocations: 1.445 MB / 1.527 GB, free: 15.52 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.5879, allocations: 55.84 kB / 1.527 GB, free: 15.45 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.5887, allocations: 0.5421 MB / 1.527 GB, free: 14.89 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.5887, allocations: 41.7 kB / 1.527 GB, free: 14.85 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.589, allocations: 333.1 kB / 1.527 GB, free: 14.52 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.5892, allocations: 178.4 kB / 1.528 GB, free: 14.34 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.5893, allocations: 86.25 kB / 1.528 GB, free: 14.25 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5895, allocations: 374.5 kB / 1.528 GB, free: 13.88 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.5899, allocations: 177 kB / 1.528 GB, free: 13.71 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.5903, allocations: 260.8 kB / 1.529 GB, free: 13.43 MB / 1.232 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.003599/0.5939, allocations: 1.444 MB / 1.53 GB, free: 11.93 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5939, allocations: 0 / 1.53 GB, free: 11.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009977/0.5949, allocations: 0.5307 MB / 1.53 GB, free: 11.39 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5949, allocations: 4.156 kB / 1.53 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.5949, allocations: 8 kB / 1.53 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.595, allocations: 4 kB / 1.53 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.5954, allocations: 95.84 kB / 1.531 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5954, allocations: 0 / 1.531 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.5961, allocations: 30.12 kB / 1.531 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.5961, allocations: 16 kB / 1.531 GB, free: 11.24 MB / 1.232 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.000393/0.5965, allocations: 250.1 kB / 1.531 GB, free: 10.99 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.5967, allocations: 75.58 kB / 1.531 GB, free: 10.91 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.5969, allocations: 78.45 kB / 1.531 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.5969, allocations: 8 kB / 1.531 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5969, allocations: 0 / 1.531 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007772/0.5977, allocations: 0.5144 MB / 1.532 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.6003, allocations: 1.585 MB / 1.533 GB, free: 8.582 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6003, allocations: 4 kB / 1.533 GB, free: 8.578 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.6008, allocations: 111.8 kB / 1.533 GB, free: 8.469 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.6008, allocations: 8.625 kB / 1.533 GB, free: 8.461 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.6009, allocations: 19.98 kB / 1.533 GB, free: 8.441 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.6009, allocations: 19.94 kB / 1.533 GB, free: 8.422 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6009, allocations: 11.94 kB / 1.533 GB, free: 8.41 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.6022, allocations: 0.8951 MB / 1.534 GB, free: 7.434 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.6025, allocations: 196.7 kB / 1.534 GB, free: 7.223 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.636e-05/0.6026, allocations: 23.92 kB / 1.534 GB, free: 7.199 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.6032, allocations: 29.97 kB / 1.534 GB, free: 7.172 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.6033, allocations: 39.83 kB / 1.534 GB, free: 7.133 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.6033, allocations: 27.98 kB / 1.534 GB, free: 7.105 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004909/0.6038, allocations: 398.8 kB / 1.535 GB, free: 6.719 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6038, allocations: 7.938 kB / 1.535 GB, free: 6.711 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006865/0.6045, allocations: 196 kB / 1.535 GB, free: 6.52 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.0018/0.6063, allocations: 1.518 MB / 1.536 GB, free: 4.918 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008161/0.6071, allocations: 425.2 kB / 1.537 GB, free: 4.504 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6071, allocations: 0 / 1.537 GB, free: 4.504 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.6075, allocations: 227.9 kB / 1.537 GB, free: 4.281 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.6097, allocations: 489.9 kB / 1.538 GB, free: 3.816 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/0.6175, allocations: 5.498 MB / 1.543 GB, free: 14.07 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.6182, allocations: 0.9694 MB / 1.544 GB, free: 13.07 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006098/0.6188, allocations: 165.8 kB / 1.544 GB, free: 12.91 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.6192, allocations: 251.4 kB / 1.544 GB, free: 12.66 MB / 1.248 GB Notification: Performance of SimCode: time 8.22e-07/0.6192, allocations: 0 / 1.544 GB, free: 12.66 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05071/0.6699, allocations: 20.42 MB / 1.564 GB, free: 8.594 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.844/9.514, allocations: 8.75 kB / 1.564 GB, free: 8.59 MB / 1.264 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.678131768945605]