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.007489/0.007489, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001913/0.001913, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.471/2.471, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3047, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.8926/1.197, allocations: 181.9 MB / 1.344 GB, free: 8.996 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009369/1.207, allocations: 5.351 MB / 1.349 GB, free: 5.207 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/1.208, allocations: 34.72 kB / 1.349 GB, free: 5.195 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/1.21, allocations: 464.8 kB / 1.349 GB, free: 4.934 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005154/1.215, allocations: 1.732 MB / 1.351 GB, free: 3.988 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/1.218, allocations: 0.8083 MB / 1.352 GB, free: 3.543 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003788/1.221, allocations: 2.211 MB / 1.354 GB, free: 2.531 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/1.223, allocations: 0.6793 MB / 1.355 GB, free: 2.223 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/1.225, allocations: 0.7713 MB / 1.356 GB, free: 1.867 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/1.227, allocations: 0.6758 MB / 1.356 GB, free: 1.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003137/1.227, allocations: 76.12 kB / 1.356 GB, free: 1.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/1.231, allocations: 1.408 MB / 1.358 GB, free: 1.023 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000605/1.232, allocations: 333.1 kB / 1.358 GB, free: 0.875 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/1.233, allocations: 471.7 kB / 1.358 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003923/1.237, allocations: 1.659 MB / 1.36 GB, free: 20 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.237, allocations: 0 / 1.36 GB, free: 20 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/1.237, allocations: 0 / 1.36 GB, free: 20 kB / 1.029 GB Notification: Performance of Transformations before backend: time 5.809e-05/1.237, allocations: 0.9375 kB / 1.36 GB, free: 20 kB / 1.029 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.002993/1.24, allocations: 1.187 MB / 1.361 GB, free: 15.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.24, allocations: 9.938 kB / 1.361 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/1.24, allocations: 102 kB / 1.361 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/1.242, allocations: 275.4 kB / 1.362 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/1.244, allocations: 0.7075 MB / 1.362 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/1.244, allocations: 49.14 kB / 1.362 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.244, allocations: 55.75 kB / 1.362 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.245, allocations: 0.5877 MB / 1.363 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/1.245, allocations: 0 / 1.363 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/1.245, allocations: 21.56 kB / 1.363 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/1.245, allocations: 24.95 kB / 1.363 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009651/1.246, allocations: 0.5039 MB / 1.363 GB, free: 14.04 MB / 1.045 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.003668/1.25, allocations: 2.375 MB / 1.366 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/1.251, allocations: 427.2 kB / 1.366 GB, free: 11.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/1.251, allocations: 220.9 kB / 1.366 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/1.252, allocations: 104.8 kB / 1.367 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/1.252, allocations: 45.61 kB / 1.367 GB, free: 11.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 2.295e-06/1.252, allocations: 0 / 1.367 GB, free: 11.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003129/1.255, allocations: 1.432 MB / 1.368 GB, free: 10.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.255, allocations: 60.59 kB / 1.368 GB, free: 10.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/1.256, allocations: 0.5412 MB / 1.369 GB, free: 10.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/1.256, allocations: 37.61 kB / 1.369 GB, free: 10.21 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/1.256, allocations: 328 kB / 1.369 GB, free: 9.922 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.256, allocations: 166.7 kB / 1.369 GB, free: 9.777 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/1.256, allocations: 90.03 kB / 1.369 GB, free: 9.719 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.256, allocations: 379 kB / 1.369 GB, free: 9.355 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/1.257, allocations: 175.6 kB / 1.37 GB, free: 9.266 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/1.257, allocations: 254.5 kB / 1.37 GB, free: 9.094 MB / 1.045 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.003262/1.26, allocations: 1.446 MB / 1.371 GB, free: 8.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.26, allocations: 5.312 kB / 1.371 GB, free: 8.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000887/1.261, allocations: 0.5277 MB / 1.372 GB, free: 7.957 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.261, allocations: 5.781 kB / 1.372 GB, free: 7.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.261, allocations: 2.375 kB / 1.372 GB, free: 7.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/1.261, allocations: 8.484 kB / 1.372 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/1.262, allocations: 91.97 kB / 1.372 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.262, allocations: 2.25 kB / 1.372 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/1.262, allocations: 25.52 kB / 1.372 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/1.262, allocations: 24.31 kB / 1.372 GB, free: 7.91 MB / 1.045 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.0003424/1.263, allocations: 247.8 kB / 1.372 GB, free: 7.715 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/1.263, allocations: 64.47 kB / 1.372 GB, free: 7.684 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/1.263, allocations: 77.03 kB / 1.372 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/1.263, allocations: 9.047 kB / 1.372 GB, free: 7.621 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.263, allocations: 2.812 kB / 1.372 GB, free: 7.621 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006695/1.264, allocations: 0.511 MB / 1.373 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/1.266, allocations: 1.6 MB / 1.374 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/1.266, allocations: 9.062 kB / 1.374 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/1.266, allocations: 114.1 kB / 1.375 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/1.266, allocations: 4.875 kB / 1.375 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/1.266, allocations: 17.59 kB / 1.375 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/1.266, allocations: 15.89 kB / 1.375 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.266, allocations: 8.969 kB / 1.375 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/1.268, allocations: 0.8977 MB / 1.375 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/1.268, allocations: 195.3 kB / 1.376 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/1.268, allocations: 20.11 kB / 1.376 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/1.268, allocations: 18.47 kB / 1.376 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/1.268, allocations: 49.89 kB / 1.376 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/1.269, allocations: 20.28 kB / 1.376 GB, free: 5.145 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004174/1.269, allocations: 399.5 kB / 1.376 GB, free: 4.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.4e-07/1.269, allocations: 0 / 1.376 GB, free: 4.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006655/1.27, allocations: 205.2 kB / 1.376 GB, free: 4.891 MB / 1.045 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.001605/1.271, allocations: 1.521 MB / 1.378 GB, free: 3.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007328/1.272, allocations: 448.7 kB / 1.378 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.272, allocations: 3.031 kB / 1.378 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/1.272, allocations: 231.9 kB / 1.378 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.274, allocations: 499.2 kB / 1.379 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/1.281, allocations: 5.468 MB / 1.384 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/1.282, allocations: 0.9849 MB / 1.385 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006016/1.282, allocations: 163.8 kB / 1.385 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/1.283, allocations: 247.6 kB / 1.386 GB, free: 14.29 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.283, allocations: 3.938 kB / 1.386 GB, free: 14.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/1.327, allocations: 20.36 MB / 1.406 GB, free: 15.09 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/9.901, allocations: 11.2 kB / 1.406 GB, free: 15.08 MB / 1.076 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