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.001064/0.001064, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008715/0.008715, allocations: 172.2 kB / 16.27 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.514/2.514, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 8 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.574, allocations: 153.8 MB / 1.023 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.173/0.7471, allocations: 177.3 MB / 1.196 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007846/0.755, allocations: 5.374 MB / 1.201 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.756, allocations: 31.81 kB / 1.202 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.7571, allocations: 370.1 kB / 1.202 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.7609, allocations: 1.572 MB / 1.203 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.7626, allocations: 0.7283 MB / 1.204 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002967/0.7656, allocations: 2.979 MB / 1.207 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007338/0.7663, allocations: 0.5738 MB / 1.208 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009124/0.7672, allocations: 0.6066 MB / 1.208 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.7689, allocations: 0.6785 MB / 1.209 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.769, allocations: 28 kB / 1.209 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.7716, allocations: 1.601 MB / 1.21 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.7719, allocations: 271.1 kB / 1.211 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.7723, allocations: 431.6 kB / 1.211 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.7742, allocations: 1.682 MB / 1.213 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7742, allocations: 4 kB / 1.213 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7742, allocations: 3.938 kB / 1.213 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.078e-06/0.7742, allocations: 0 / 1.213 GB, free: 13.14 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.001487/0.7757, allocations: 1.024 MB / 1.214 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.7757, allocations: 11.98 kB / 1.214 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.7759, allocations: 102.5 kB / 1.214 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.7777, allocations: 266.7 kB / 1.214 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.7787, allocations: 0.6787 MB / 1.215 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.7787, allocations: 41.31 kB / 1.215 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.885e-05/0.7788, allocations: 60 kB / 1.215 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009972/0.7798, allocations: 0.5843 MB / 1.215 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.7799, allocations: 4 kB / 1.215 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.7799, allocations: 24 kB / 1.215 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.78, allocations: 21.31 kB / 1.215 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.7809, allocations: 0.5009 MB / 1.216 GB, free: 9.723 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.002972/0.7838, allocations: 2.392 MB / 1.218 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.7846, allocations: 428 kB / 1.219 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.785, allocations: 224.7 kB / 1.219 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.7852, allocations: 105.1 kB / 1.219 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.7852, allocations: 38.56 kB / 1.219 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.7852, allocations: 0 / 1.219 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.002738/0.788, allocations: 1.435 MB / 1.22 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.788, allocations: 67.78 kB / 1.221 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.7886, allocations: 0.5304 MB / 1.221 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.7887, allocations: 37.7 kB / 1.221 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.7889, allocations: 324.7 kB / 1.221 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.7891, allocations: 173.5 kB / 1.222 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.7891, allocations: 41.7 kB / 1.222 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7893, allocations: 374.7 kB / 1.222 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.7896, allocations: 173 kB / 1.222 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.79, allocations: 264.8 kB / 1.222 GB, free: 2.809 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.003496/0.7935, allocations: 1.448 MB / 1.224 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7935, allocations: 3.938 kB / 1.224 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000846/0.7943, allocations: 0.5304 MB / 1.224 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7944, allocations: 4 kB / 1.224 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.7944, allocations: 4 kB / 1.224 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7944, allocations: 4 kB / 1.224 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.7948, allocations: 95.84 kB / 1.224 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7948, allocations: 3.984 kB / 1.224 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.7955, allocations: 47.92 kB / 1.224 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.7956, allocations: 16 kB / 1.224 GB, free: 0.5977 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 sytem: 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.0002984/0.7959, allocations: 249.6 kB / 1.225 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.796, allocations: 79.14 kB / 1.225 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.7962, allocations: 82.45 kB / 1.225 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7962, allocations: 4 kB / 1.225 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7962, allocations: 0 / 1.225 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007391/0.7969, allocations: 0.5106 MB / 1.225 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.7992, allocations: 1.577 MB / 1.227 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.7992, allocations: 4 kB / 1.227 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.7998, allocations: 119.8 kB / 1.227 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.7998, allocations: 4.625 kB / 1.227 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.7999, allocations: 20 kB / 1.227 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.7999, allocations: 11.94 kB / 1.227 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7999, allocations: 11.94 kB / 1.227 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.8011, allocations: 0.8988 MB / 1.228 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.8014, allocations: 196.3 kB / 1.228 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.8014, allocations: 16 kB / 1.228 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.8021, allocations: 40.58 kB / 1.228 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.8022, allocations: 51.77 kB / 1.228 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.8022, allocations: 27.98 kB / 1.228 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004493/0.8027, allocations: 398.8 kB / 1.229 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8027, allocations: 0 / 1.229 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006695/0.8034, allocations: 196 kB / 1.229 GB, free: 11.88 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.001756/0.8051, allocations: 1.541 MB / 1.23 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000759/0.8059, allocations: 437.2 kB / 1.231 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8059, allocations: 3.938 kB / 1.231 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.8063, allocations: 237.1 kB / 1.231 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.809, allocations: 474.9 kB / 1.231 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007765/0.8167, allocations: 5.94 MB / 1.237 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.8173, allocations: 0.9812 MB / 1.238 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006497/0.818, allocations: 161.8 kB / 1.238 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.8184, allocations: 247.4 kB / 1.239 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/0.8184, allocations: 0 / 1.239 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5236/1.342, allocations: 19.28 MB / 1.257 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/1.342, allocations: 273.5 kB / 1.258 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.567, allocations: 0 / 1.258 GB, free: 230.2 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