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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005939/0.005939, allocations: 100.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 187.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 64.12 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3912, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 1.057/1.448, allocations: 181.9 MB / 1.385 GB, free: 6.262 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0117/1.46, allocations: 5.356 MB / 1.39 GB, free: 1.902 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/1.462, allocations: 43.47 kB / 1.39 GB, free: 1.883 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/1.464, allocations: 438.5 kB / 1.391 GB, free: 1.523 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006077/1.47, allocations: 1.673 MB / 1.392 GB, free: 232 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/1.474, allocations: 0.8023 MB / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005257/1.479, allocations: 2.202 MB / 1.395 GB, free: 14.34 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/1.481, allocations: 0.6779 MB / 1.396 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/1.483, allocations: 0.7623 MB / 1.397 GB, free: 13.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/1.486, allocations: 0.6774 MB / 1.397 GB, free: 13.07 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003975/1.486, allocations: 74.38 kB / 1.397 GB, free: 13.07 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/1.491, allocations: 1.401 MB / 1.399 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007238/1.491, allocations: 319 kB / 1.399 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/1.493, allocations: 478.9 kB / 1.399 GB, free: 11.79 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006993/1.5, allocations: 1.659 MB / 1.401 GB, free: 10.72 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/1.5, allocations: 5.141 kB / 1.401 GB, free: 10.72 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.989e-06/1.5, allocations: 4 kB / 1.401 GB, free: 10.71 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001178/1.5, allocations: 0 / 1.401 GB, free: 10.71 MB / 1.092 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.006536/1.507, allocations: 1.186 MB / 1.402 GB, free: 9.773 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 8.891e-05/1.507, allocations: 13.75 kB / 1.402 GB, free: 9.77 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003743/1.507, allocations: 104.8 kB / 1.402 GB, free: 9.68 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/1.51, allocations: 273.4 kB / 1.403 GB, free: 9.559 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/1.512, allocations: 0.7112 MB / 1.403 GB, free: 8.988 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.512, allocations: 45.84 kB / 1.403 GB, free: 8.969 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/1.512, allocations: 60.78 kB / 1.403 GB, free: 8.949 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/1.514, allocations: 0.5773 MB / 1.404 GB, free: 8.613 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.514, allocations: 0 / 1.404 GB, free: 8.613 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/1.514, allocations: 25.12 kB / 1.404 GB, free: 8.594 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/1.514, allocations: 25.89 kB / 1.404 GB, free: 8.59 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/1.515, allocations: 0.5031 MB / 1.404 GB, free: 8.344 MB / 1.092 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.004897/1.52, allocations: 2.375 MB / 1.407 GB, free: 6.332 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/1.521, allocations: 430.2 kB / 1.407 GB, free: 6.105 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/1.522, allocations: 217.1 kB / 1.407 GB, free: 5.996 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/1.522, allocations: 100.2 kB / 1.408 GB, free: 5.895 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/1.522, allocations: 43.25 kB / 1.408 GB, free: 5.848 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/1.522, allocations: 0 / 1.408 GB, free: 5.848 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.004292/1.526, allocations: 1.439 MB / 1.409 GB, free: 4.949 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/1.526, allocations: 56.53 kB / 1.409 GB, free: 4.887 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.528, allocations: 0.5401 MB / 1.41 GB, free: 4.566 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/1.528, allocations: 40.48 kB / 1.41 GB, free: 4.523 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/1.528, allocations: 324.3 kB / 1.41 GB, free: 4.238 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/1.528, allocations: 174 kB / 1.41 GB, free: 4.086 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.529, allocations: 91.72 kB / 1.41 GB, free: 4.027 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002484/1.529, allocations: 374.2 kB / 1.411 GB, free: 3.668 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/1.529, allocations: 178.2 kB / 1.411 GB, free: 3.578 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/1.53, allocations: 263.7 kB / 1.411 GB, free: 3.402 MB / 1.092 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.003668/1.533, allocations: 1.44 MB / 1.412 GB, free: 2.551 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.533, allocations: 0 / 1.412 GB, free: 2.551 MB / 1.092 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001184/1.535, allocations: 0.5252 MB / 1.413 GB, free: 2.273 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/1.535, allocations: 5.469 kB / 1.413 GB, free: 2.273 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.535, allocations: 6.438 kB / 1.413 GB, free: 2.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/1.535, allocations: 1.875 kB / 1.413 GB, free: 2.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/1.535, allocations: 100.1 kB / 1.413 GB, free: 2.246 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/1.535, allocations: 2.438 kB / 1.413 GB, free: 2.246 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000838/1.536, allocations: 19.3 kB / 1.413 GB, free: 2.234 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/1.536, allocations: 20.78 kB / 1.413 GB, free: 2.227 MB / 1.092 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.0005021/1.537, allocations: 248.7 kB / 1.413 GB, free: 2.031 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/1.537, allocations: 67.62 kB / 1.413 GB, free: 1.996 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/1.537, allocations: 84.3 kB / 1.413 GB, free: 1.934 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.537, allocations: 7.281 kB / 1.413 GB, free: 1.934 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.537, allocations: 0 / 1.413 GB, free: 1.934 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008144/1.538, allocations: 0.5073 MB / 1.414 GB, free: 1.59 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/1.541, allocations: 1.6 MB / 1.415 GB, free: 388 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.541, allocations: 4.75 kB / 1.415 GB, free: 388 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/1.542, allocations: 118.1 kB / 1.416 GB, free: 360 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/1.542, allocations: 8.062 kB / 1.416 GB, free: 360 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/1.542, allocations: 15.72 kB / 1.416 GB, free: 352 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-05/1.542, allocations: 15.83 kB / 1.416 GB, free: 344 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.542, allocations: 12.22 kB / 1.416 GB, free: 336 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/1.543, allocations: 0.886 MB / 1.416 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/1.544, allocations: 201.5 kB / 1.417 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.544, allocations: 11.78 kB / 1.417 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/1.545, allocations: 26.77 kB / 1.417 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/1.545, allocations: 53.8 kB / 1.417 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/1.545, allocations: 21.03 kB / 1.417 GB, free: 15.46 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006064/1.546, allocations: 393.9 kB / 1.417 GB, free: 15.24 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.01e-07/1.546, allocations: 0 / 1.417 GB, free: 15.24 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001003/1.547, allocations: 207.1 kB / 1.417 GB, free: 15.21 MB / 1.107 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.002368/1.549, allocations: 1.531 MB / 1.419 GB, free: 13.79 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009875/1.55, allocations: 449.5 kB / 1.419 GB, free: 13.35 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.55, allocations: 4.062 kB / 1.419 GB, free: 13.34 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004229/1.551, allocations: 231.6 kB / 1.419 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.553, allocations: 488.4 kB / 1.42 GB, free: 12.65 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/1.563, allocations: 5.466 MB / 1.425 GB, free: 6.953 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/1.564, allocations: 0.9733 MB / 1.426 GB, free: 5.953 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000837/1.565, allocations: 157.9 kB / 1.426 GB, free: 5.797 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/1.565, allocations: 251.4 kB / 1.427 GB, free: 5.551 MB / 1.107 GB Notification: Performance of SimCode: time 1.443e-06/1.565, allocations: 0 / 1.427 GB, free: 5.551 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05903/1.624, allocations: 20.71 MB / 1.447 GB, free: 1.172 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.421/11.05, allocations: 13.73 kB / 1.447 GB, free: 1.16 MB / 1.123 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) 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) Reference file matches