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.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002267/0.002267, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.602/1.602, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 0.8688 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5321, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1756/0.7077, allocations: 179.5 MB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008083/0.7159, allocations: 5.331 MB / 1.197 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.717, allocations: 31.81 kB / 1.197 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.7182, allocations: 390 kB / 1.198 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.7221, allocations: 1.572 MB / 1.199 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.724, allocations: 0.7328 MB / 1.2 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002693/0.7267, allocations: 2.198 MB / 1.202 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.7278, allocations: 0.6774 MB / 1.203 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.7297, allocations: 0.7393 MB / 1.204 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/0.7323, allocations: 0.7235 MB / 1.204 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.7326, allocations: 76 kB / 1.204 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.7356, allocations: 1.469 MB / 1.206 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.7361, allocations: 323.1 kB / 1.206 GB, free: 244 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.7369, allocations: 473.9 kB / 1.207 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.7397, allocations: 1.741 MB / 1.208 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7397, allocations: 3.938 kB / 1.208 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7397, allocations: 0 / 1.208 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.152e-05/0.7397, allocations: 4 kB / 1.208 GB, free: 14.02 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.002133/0.7419, allocations: 1.176 MB / 1.209 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7419, allocations: 12.03 kB / 1.209 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.7421, allocations: 102.5 kB / 1.21 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.744, allocations: 274.7 kB / 1.21 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.7451, allocations: 0.6709 MB / 1.21 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.7452, allocations: 45.31 kB / 1.21 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/0.7453, allocations: 56 kB / 1.211 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.7464, allocations: 0.5843 MB / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.7464, allocations: 0 / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.7465, allocations: 24 kB / 1.211 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.7465, allocations: 25.3 kB / 1.211 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.7475, allocations: 0.5048 MB / 1.212 GB, free: 10.45 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.003321/0.7508, allocations: 2.392 MB / 1.214 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/0.7516, allocations: 433.5 kB / 1.214 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.752, allocations: 220.8 kB / 1.215 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.7522, allocations: 101.1 kB / 1.215 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.7522, allocations: 34.56 kB / 1.215 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.7522, allocations: 4 kB / 1.215 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.00298/0.7552, allocations: 1.435 MB / 1.216 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.7552, allocations: 59.84 kB / 1.216 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006275/0.7559, allocations: 0.5382 MB / 1.217 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.7559, allocations: 41.7 kB / 1.217 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.7562, allocations: 328.6 kB / 1.217 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.7563, allocations: 165.5 kB / 1.217 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.7565, allocations: 86.25 kB / 1.217 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7566, allocations: 378.7 kB / 1.218 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.7569, allocations: 173 kB / 1.218 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.7573, allocations: 264.8 kB / 1.218 GB, free: 3.488 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.003385/0.7607, allocations: 1.44 MB / 1.22 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7607, allocations: 0 / 1.22 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00089/0.7616, allocations: 0.5304 MB / 1.22 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.7617, allocations: 4 kB / 1.22 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.7617, allocations: 8.141 kB / 1.22 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.7617, allocations: 15.92 kB / 1.22 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.7621, allocations: 95.84 kB / 1.22 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.7621, allocations: 3.984 kB / 1.22 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.7629, allocations: 49.17 kB / 1.22 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.7629, allocations: 16 kB / 1.22 GB, free: 1.273 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.0003396/0.7633, allocations: 241.7 kB / 1.22 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.7634, allocations: 75.14 kB / 1.221 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.7636, allocations: 78.45 kB / 1.221 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7636, allocations: 4 kB / 1.221 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7636, allocations: 0 / 1.221 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007226/0.7643, allocations: 0.5222 MB / 1.221 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.7668, allocations: 1.577 MB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7669, allocations: 4 kB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.7674, allocations: 119.8 kB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.7675, allocations: 4 kB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.7675, allocations: 20 kB / 1.223 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.7675, allocations: 4 kB / 1.223 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.7675, allocations: 19.88 kB / 1.223 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.7688, allocations: 0.899 MB / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.7691, allocations: 192.3 kB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.7692, allocations: 20 kB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.7699, allocations: 39.83 kB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.77, allocations: 47.77 kB / 1.224 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.77, allocations: 23.98 kB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004736/0.7705, allocations: 398.8 kB / 1.224 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7705, allocations: 0 / 1.224 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007386/0.7712, allocations: 200 kB / 1.225 GB, free: 12.56 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.001822/0.7731, allocations: 1.535 MB / 1.226 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000921/0.774, allocations: 477.4 kB / 1.227 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.774, allocations: 12 kB / 1.227 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.7745, allocations: 231.8 kB / 1.227 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.7767, allocations: 494.4 kB / 1.227 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008332/0.785, allocations: 5.862 MB / 1.233 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.7856, allocations: 0.9772 MB / 1.234 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007523/0.7864, allocations: 157.9 kB / 1.234 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.7868, allocations: 255.3 kB / 1.234 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.7868, allocations: 0 / 1.234 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4709/1.258, allocations: 20.06 MB / 1.254 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/1.258, allocations: 272.2 kB / 1.254 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.435, allocations: 0 / 1.254 GB, free: 233.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