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.001204/0.001204, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001287/0.001287, allocations: 215 kB / 20.13 MB, free: 2.949 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.366/1.366, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.738/2.738, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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.001908/0.001908, allocations: 63.91 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8253, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.214/1.039, allocations: 185.5 MB / 1.521 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00885/1.048, allocations: 5.379 MB / 1.527 GB, free: 9.297 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/1.049, allocations: 55.56 kB / 1.527 GB, free: 9.242 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/1.05, allocations: 461.4 kB / 1.527 GB, free: 8.789 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004256/1.055, allocations: 1.739 MB / 1.529 GB, free: 7.043 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/1.057, allocations: 0.8114 MB / 1.529 GB, free: 6.238 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003154/1.06, allocations: 2.203 MB / 1.532 GB, free: 4.023 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009259/1.061, allocations: 0.5837 MB / 1.532 GB, free: 3.43 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/1.063, allocations: 0.9849 MB / 1.533 GB, free: 2.441 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/1.065, allocations: 0.7305 MB / 1.534 GB, free: 1.719 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/1.065, allocations: 76 kB / 1.534 GB, free: 1.645 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/1.067, allocations: 1.473 MB / 1.535 GB, free: 172 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003849/1.068, allocations: 323 kB / 1.536 GB, free: 15.85 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005867/1.068, allocations: 481.9 kB / 1.536 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/1.071, allocations: 1.666 MB / 1.538 GB, free: 13.71 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.071, allocations: 0 / 1.538 GB, free: 13.71 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.463e-06/1.071, allocations: 0 / 1.538 GB, free: 13.71 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.948e-05/1.071, allocations: 3.938 kB / 1.538 GB, free: 13.7 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.002036/1.073, allocations: 1.206 MB / 1.539 GB, free: 12.44 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.073, allocations: 12.02 kB / 1.539 GB, free: 12.43 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.299e-05/1.073, allocations: 17.31 kB / 1.539 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/1.073, allocations: 102.5 kB / 1.539 GB, free: 12.3 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/1.075, allocations: 275.2 kB / 1.539 GB, free: 12.04 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/1.076, allocations: 0.7143 MB / 1.54 GB, free: 11.28 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/1.076, allocations: 49.31 kB / 1.54 GB, free: 11.23 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/1.077, allocations: 63.94 kB / 1.54 GB, free: 11.17 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.078, allocations: 0.5843 MB / 1.541 GB, free: 10.58 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.078, allocations: 0 / 1.541 GB, free: 10.58 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/1.078, allocations: 31.98 kB / 1.541 GB, free: 10.55 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/1.078, allocations: 21.31 kB / 1.541 GB, free: 10.52 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009365/1.079, allocations: 0.497 MB / 1.541 GB, free: 10.03 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/1.082, allocations: 2.543 MB / 1.544 GB, free: 7.262 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/1.083, allocations: 413.4 kB / 1.544 GB, free: 6.852 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/1.083, allocations: 210.5 kB / 1.544 GB, free: 6.645 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/1.084, allocations: 93.09 kB / 1.544 GB, free: 6.535 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.084, allocations: 42.55 kB / 1.544 GB, free: 6.484 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/1.084, allocations: 0 / 1.544 GB, free: 6.484 MB / 1.217 GB Notification: Performance of matching and sorting (n=48): time 0.003151/1.087, allocations: 1.454 MB / 1.546 GB, free: 4.977 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/1.087, allocations: 55.84 kB / 1.546 GB, free: 4.91 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/1.088, allocations: 0.5421 MB / 1.546 GB, free: 4.359 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/1.088, allocations: 41.7 kB / 1.547 GB, free: 4.312 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/1.088, allocations: 325.2 kB / 1.547 GB, free: 3.988 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/1.088, allocations: 178.4 kB / 1.547 GB, free: 3.812 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/1.088, allocations: 90.2 kB / 1.547 GB, free: 3.719 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001942/1.088, allocations: 378.7 kB / 1.547 GB, free: 3.34 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/1.089, allocations: 173 kB / 1.548 GB, free: 3.172 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/1.089, allocations: 260.8 kB / 1.548 GB, free: 2.895 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.003548/1.093, allocations: 1.444 MB / 1.549 GB, free: 1.398 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.093, allocations: 0 / 1.549 GB, free: 1.398 MB / 1.217 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009371/1.094, allocations: 0.5269 MB / 1.55 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.094, allocations: 4.156 kB / 1.55 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.094, allocations: 11.98 kB / 1.55 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.094, allocations: 0 / 1.55 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/1.094, allocations: 99.89 kB / 1.55 GB, free: 0.75 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.094, allocations: 4 kB / 1.55 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/1.095, allocations: 29.73 kB / 1.55 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/1.095, allocations: 16 kB / 1.55 GB, free: 0.7031 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.0003639/1.095, allocations: 245.7 kB / 1.55 GB, free: 464 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.095, allocations: 75.58 kB / 1.55 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/1.095, allocations: 78.45 kB / 1.55 GB, free: 308 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.095, allocations: 11.94 kB / 1.55 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.095, allocations: 0 / 1.55 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007686/1.096, allocations: 0.5144 MB / 1.551 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/1.099, allocations: 1.581 MB / 1.552 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.099, allocations: 4 kB / 1.552 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/1.099, allocations: 107.9 kB / 1.553 GB, free: 13.93 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.099, allocations: 8.625 kB / 1.553 GB, free: 13.93 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/1.099, allocations: 16 kB / 1.553 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/1.099, allocations: 23.86 kB / 1.553 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.099, allocations: 8 kB / 1.553 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/1.101, allocations: 0.8976 MB / 1.553 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/1.101, allocations: 196.7 kB / 1.554 GB, free: 12.7 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/1.101, allocations: 19.98 kB / 1.554 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/1.102, allocations: 27.94 kB / 1.554 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.102, allocations: 43.77 kB / 1.554 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/1.102, allocations: 24 kB / 1.554 GB, free: 12.58 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005099/1.102, allocations: 394.8 kB / 1.554 GB, free: 12.2 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.102, allocations: 4 kB / 1.554 GB, free: 12.2 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007072/1.103, allocations: 207.9 kB / 1.554 GB, free: 11.99 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.001896/1.105, allocations: 1.511 MB / 1.556 GB, free: 10.39 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008832/1.106, allocations: 429.5 kB / 1.556 GB, free: 9.973 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.106, allocations: 0 / 1.556 GB, free: 9.973 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/1.106, allocations: 236 kB / 1.556 GB, free: 9.742 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.108, allocations: 493.4 kB / 1.557 GB, free: 9.273 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008017/1.116, allocations: 5.51 MB / 1.562 GB, free: 3.535 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/1.117, allocations: 0.9733 MB / 1.563 GB, free: 2.527 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006835/1.118, allocations: 161.8 kB / 1.563 GB, free: 2.367 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/1.118, allocations: 251.3 kB / 1.564 GB, free: 2.125 MB / 1.232 GB Notification: Performance of SimCode: time 6.31e-07/1.118, allocations: 0 / 1.564 GB, free: 2.125 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04614/1.164, allocations: 20.46 MB / 1.584 GB, free: 14.02 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.191/10.36, allocations: 14.12 kB / 1.584 GB, free: 14 MB / 1.264 GB " [Timeout remaining time 290] (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: 16.225260645966046]