Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001688/0.001688, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001896/0.001896, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.89 kB / 1.056 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7875/0.7896, allocations: 160.7 MB / 1.213 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.238/1.028, allocations: 182.5 MB / 1.391 GB, free: 1.051 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00952/1.037, allocations: 5.374 MB / 1.396 GB, free: 11.66 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/1.039, allocations: 31.81 kB / 1.396 GB, free: 11.63 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/1.04, allocations: 461.3 kB / 1.397 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005139/1.045, allocations: 1.743 MB / 1.399 GB, free: 9.426 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/1.048, allocations: 0.8056 MB / 1.399 GB, free: 8.625 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002862/1.05, allocations: 2.195 MB / 1.401 GB, free: 6.418 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008269/1.051, allocations: 0.5797 MB / 1.402 GB, free: 5.824 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/1.052, allocations: 0.7784 MB / 1.403 GB, free: 5.043 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/1.054, allocations: 0.723 MB / 1.404 GB, free: 4.328 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/1.054, allocations: 76 kB / 1.404 GB, free: 4.254 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/1.057, allocations: 1.492 MB / 1.405 GB, free: 2.758 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/1.057, allocations: 327 kB / 1.405 GB, free: 2.438 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005127/1.058, allocations: 473.9 kB / 1.406 GB, free: 1.973 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/1.06, allocations: 1.666 MB / 1.407 GB, free: 308 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.06, allocations: 4 kB / 1.407 GB, free: 304 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.693e-06/1.06, allocations: 0 / 1.407 GB, free: 304 kB / 1.107 GB Notification: Performance of Transformations before backend: time 1.298e-05/1.06, allocations: 0 / 1.407 GB, free: 304 kB / 1.107 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.001951/1.062, allocations: 1.214 MB / 1.409 GB, free: 15.03 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.062, allocations: 12.62 kB / 1.409 GB, free: 15.02 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/1.062, allocations: 98.52 kB / 1.409 GB, free: 14.91 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/1.064, allocations: 283.2 kB / 1.409 GB, free: 14.63 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/1.065, allocations: 0.7066 MB / 1.41 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/1.065, allocations: 49.31 kB / 1.41 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.066, allocations: 59.98 kB / 1.41 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/1.067, allocations: 0.5804 MB / 1.41 GB, free: 13.19 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/1.067, allocations: 0 / 1.41 GB, free: 13.19 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/1.067, allocations: 20 kB / 1.41 GB, free: 13.17 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/1.067, allocations: 21.31 kB / 1.41 GB, free: 13.15 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009347/1.068, allocations: 0.5009 MB / 1.411 GB, free: 12.65 MB / 1.123 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.003452/1.071, allocations: 2.393 MB / 1.413 GB, free: 10.07 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/1.072, allocations: 419.2 kB / 1.414 GB, free: 9.652 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/1.072, allocations: 216.7 kB / 1.414 GB, free: 9.438 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/1.073, allocations: 97.08 kB / 1.414 GB, free: 9.324 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.073, allocations: 42.56 kB / 1.414 GB, free: 9.273 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/1.073, allocations: 0 / 1.414 GB, free: 9.273 MB / 1.123 GB Notification: Performance of matching and sorting (n=48): time 0.002951/1.076, allocations: 1.449 MB / 1.415 GB, free: 7.777 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/1.076, allocations: 59.83 kB / 1.415 GB, free: 7.707 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/1.076, allocations: 0.5383 MB / 1.416 GB, free: 7.156 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/1.076, allocations: 41.7 kB / 1.416 GB, free: 7.109 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/1.077, allocations: 329.2 kB / 1.416 GB, free: 6.785 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/1.077, allocations: 174.5 kB / 1.416 GB, free: 6.613 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/1.077, allocations: 90.2 kB / 1.417 GB, free: 6.52 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.077, allocations: 374.7 kB / 1.417 GB, free: 6.145 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/1.077, allocations: 173 kB / 1.417 GB, free: 5.977 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/1.078, allocations: 268.7 kB / 1.417 GB, free: 5.691 MB / 1.123 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.003466/1.081, allocations: 1.451 MB / 1.419 GB, free: 4.188 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.081, allocations: 0 / 1.419 GB, free: 4.188 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009191/1.082, allocations: 0.5346 MB / 1.419 GB, free: 3.645 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.082, allocations: 4.156 kB / 1.419 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.082, allocations: 8 kB / 1.419 GB, free: 3.633 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.082, allocations: 0 / 1.419 GB, free: 3.633 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/1.083, allocations: 95.83 kB / 1.419 GB, free: 3.539 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.083, allocations: 4 kB / 1.419 GB, free: 3.535 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/1.083, allocations: 25.94 kB / 1.419 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/1.083, allocations: 16 kB / 1.419 GB, free: 3.496 MB / 1.123 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.0003565/1.084, allocations: 241.7 kB / 1.42 GB, free: 3.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.084, allocations: 79.56 kB / 1.42 GB, free: 3.172 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/1.084, allocations: 78.45 kB / 1.42 GB, free: 3.094 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.084, allocations: 4 kB / 1.42 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.084, allocations: 4 kB / 1.42 GB, free: 3.086 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007606/1.085, allocations: 0.5144 MB / 1.42 GB, free: 2.543 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/1.087, allocations: 1.584 MB / 1.422 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.087, allocations: 4 kB / 1.422 GB, free: 0.832 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/1.088, allocations: 111.8 kB / 1.422 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/1.088, allocations: 8.625 kB / 1.422 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/1.088, allocations: 23.94 kB / 1.422 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/1.088, allocations: 8 kB / 1.422 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.088, allocations: 11.88 kB / 1.422 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.089, allocations: 0.8988 MB / 1.423 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/1.09, allocations: 204.7 kB / 1.423 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.605e-05/1.09, allocations: 12 kB / 1.423 GB, free: 15.46 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/1.09, allocations: 31.94 kB / 1.423 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/1.09, allocations: 43.78 kB / 1.423 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/1.09, allocations: 27.98 kB / 1.423 GB, free: 15.36 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004969/1.091, allocations: 390.8 kB / 1.424 GB, free: 14.98 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.091, allocations: 4 kB / 1.424 GB, free: 14.98 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007129/1.091, allocations: 203.9 kB / 1.424 GB, free: 14.78 MB / 1.139 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.002/1.093, allocations: 1.532 MB / 1.425 GB, free: 13.18 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008267/1.094, allocations: 429.5 kB / 1.426 GB, free: 12.76 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.094, allocations: 4 kB / 1.426 GB, free: 12.75 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/1.095, allocations: 219.8 kB / 1.426 GB, free: 12.54 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/1.097, allocations: 499.7 kB / 1.426 GB, free: 12.07 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009094/1.106, allocations: 5.495 MB / 1.432 GB, free: 6.332 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/1.107, allocations: 0.9733 MB / 1.433 GB, free: 5.324 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000903/1.108, allocations: 165.8 kB / 1.433 GB, free: 5.16 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/1.108, allocations: 251.4 kB / 1.433 GB, free: 4.918 MB / 1.139 GB Notification: Performance of SimCode: time 1.493e-06/1.108, allocations: 4 kB / 1.433 GB, free: 4.914 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05227/1.16, allocations: 20.46 MB / 1.453 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.214/10.37, allocations: 25.42 kB / 1.453 GB, free: 0.7656 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.150883174035698]