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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001818/0.001818, allocations: 192.8 kB / 16.13 MB, free: 6.652 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 / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 59.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5666/0.5686, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1886/0.7573, allocations: 179.7 MB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007851/0.7652, allocations: 5.422 MB / 1.197 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.7662, allocations: 31.81 kB / 1.197 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.7674, allocations: 382 kB / 1.198 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004092/0.7715, allocations: 1.574 MB / 1.199 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.7741, allocations: 0.7234 MB / 1.2 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004376/0.7785, allocations: 2.978 MB / 1.203 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.7797, allocations: 0.5867 MB / 1.204 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.7814, allocations: 0.6378 MB / 1.204 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.7843, allocations: 0.7015 MB / 1.205 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.7845, allocations: 36 kB / 1.205 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/0.7888, allocations: 1.609 MB / 1.206 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005302/0.7893, allocations: 283.1 kB / 1.207 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.7904, allocations: 425.9 kB / 1.207 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.794, allocations: 1.706 MB / 1.209 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.7941, allocations: 11.86 kB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.787e-06/0.7941, allocations: 0 / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.862e-05/0.7941, allocations: 3.938 kB / 1.209 GB, free: 13.32 MB / 0.9669 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.003131/0.7973, allocations: 1.176 MB / 1.21 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.7973, allocations: 15.98 kB / 1.21 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002175/0.7976, allocations: 106.5 kB / 1.21 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.8003, allocations: 270.7 kB / 1.21 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.802, allocations: 0.6671 MB / 1.211 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.8021, allocations: 45.31 kB / 1.211 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.8022, allocations: 67.89 kB / 1.211 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.8036, allocations: 0.5882 MB / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.8037, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/0.8038, allocations: 20 kB / 1.212 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.8038, allocations: 21.31 kB / 1.212 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.8051, allocations: 0.5048 MB / 1.212 GB, free: 9.738 MB / 0.9669 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.00471/0.8099, allocations: 2.384 MB / 1.215 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.8111, allocations: 422.8 kB / 1.215 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.8116, allocations: 230.1 kB / 1.215 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.8118, allocations: 93.09 kB / 1.215 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.8119, allocations: 42.56 kB / 1.215 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.8119, allocations: 0 / 1.215 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.00416/0.8161, allocations: 1.443 MB / 1.217 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.8161, allocations: 59.84 kB / 1.217 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000924/0.8171, allocations: 0.5383 MB / 1.217 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.8171, allocations: 37.7 kB / 1.217 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.8175, allocations: 328.6 kB / 1.218 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.8178, allocations: 173.5 kB / 1.218 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.818, allocations: 82.27 kB / 1.218 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.8182, allocations: 374.7 kB / 1.218 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.8187, allocations: 177 kB / 1.218 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.8193, allocations: 256.8 kB / 1.219 GB, free: 2.797 MB / 0.9669 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.004964/0.8242, allocations: 1.452 MB / 1.22 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8243, allocations: 0 / 1.22 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001278/0.8255, allocations: 0.5265 MB / 1.221 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8256, allocations: 4 kB / 1.221 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.8256, allocations: 4 kB / 1.221 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.8256, allocations: 3.938 kB / 1.221 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.8263, allocations: 95.89 kB / 1.221 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.8263, allocations: 7.938 kB / 1.221 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/0.8273, allocations: 52.47 kB / 1.221 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.8274, allocations: 16 kB / 1.221 GB, free: 0.582 MB / 0.9669 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.0004197/0.8278, allocations: 245.7 kB / 1.221 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.828, allocations: 71.16 kB / 1.221 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.8282, allocations: 82.45 kB / 1.221 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.8282, allocations: 8 kB / 1.221 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8282, allocations: 0 / 1.221 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.8292, allocations: 0.5145 MB / 1.222 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.8328, allocations: 1.581 MB / 1.223 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.8328, allocations: 4 kB / 1.223 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/0.8335, allocations: 111.9 kB / 1.223 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.8336, allocations: 8 kB / 1.223 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.8336, allocations: 20 kB / 1.223 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.8337, allocations: 12.52 kB / 1.223 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.8337, allocations: 15.94 kB / 1.223 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.8355, allocations: 0.8949 MB / 1.224 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.836, allocations: 192.3 kB / 1.224 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.8362, allocations: 20 kB / 1.224 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/0.837, allocations: 47.8 kB / 1.224 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.8372, allocations: 47.78 kB / 1.225 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.8372, allocations: 27.98 kB / 1.225 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006477/0.8379, allocations: 398.8 kB / 1.225 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8379, allocations: 0 / 1.225 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001065/0.839, allocations: 196 kB / 1.225 GB, free: 11.87 MB / 0.9825 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.002934/0.8419, allocations: 1.525 MB / 1.227 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.843, allocations: 449.2 kB / 1.227 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.843, allocations: 0 / 1.227 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.8436, allocations: 233 kB / 1.227 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.8469, allocations: 477.5 kB / 1.228 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.8589, allocations: 5.857 MB / 1.233 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/0.8597, allocations: 0.9694 MB / 1.234 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00113/0.8608, allocations: 165.8 kB / 1.235 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/0.8614, allocations: 247.4 kB / 1.235 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of SimCode: time 1.163e-06/0.8614, allocations: 0 / 1.235 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4758/1.337, allocations: 19.45 MB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/1.337, allocations: 273.6 kB / 1.254 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/3.499, allocations: 0 / 1.254 GB, free: 232.6 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches