Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_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.0008874/0.0008874, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007244/0.007244, allocations: 170 kB / 16.26 MB, free: 6.613 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.088/2.088, allocations: 390.9 MB / 0.6664 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5058, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1657/0.6716, allocations: 177.3 MB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007652/0.6793, allocations: 5.372 MB / 1.134 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000833/0.6801, allocations: 27.81 kB / 1.134 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.6812, allocations: 378.1 kB / 1.134 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.6846, allocations: 1.576 MB / 1.135 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.6862, allocations: 0.7283 MB / 1.136 GB, free: 5.387 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.6892, allocations: 2.971 MB / 1.139 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008485/0.6901, allocations: 0.5816 MB / 1.14 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.6912, allocations: 0.5988 MB / 1.14 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.6931, allocations: 0.6772 MB / 1.141 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-05/0.6932, allocations: 28 kB / 1.141 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.6957, allocations: 1.609 MB / 1.142 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.696, allocations: 271.1 kB / 1.143 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005203/0.6965, allocations: 427.6 kB / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.6986, allocations: 1.682 MB / 1.145 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6986, allocations: 0 / 1.145 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6986, allocations: 4 kB / 1.145 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.6986, allocations: 4 kB / 1.145 GB, free: 12.52 MB / 0.9044 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.001489/0.7001, allocations: 1.02 MB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.7001, allocations: 12.03 kB / 1.146 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.7003, allocations: 98.52 kB / 1.146 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.702, allocations: 270.7 kB / 1.146 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.7029, allocations: 0.6748 MB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.703, allocations: 41.31 kB / 1.147 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.7031, allocations: 60 kB / 1.147 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.704, allocations: 0.5843 MB / 1.147 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.7041, allocations: 0 / 1.147 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/0.7041, allocations: 24 kB / 1.147 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.7042, allocations: 29.25 kB / 1.148 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.7051, allocations: 0.5009 MB / 1.148 GB, free: 9.098 MB / 0.9044 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.002927/0.7081, allocations: 2.384 MB / 1.15 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.7088, allocations: 428.3 kB / 1.151 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.7092, allocations: 225.3 kB / 1.151 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.7093, allocations: 97.09 kB / 1.151 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.7094, allocations: 54.44 kB / 1.151 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.382e-06/0.7094, allocations: 0 / 1.151 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.002633/0.712, allocations: 1.435 MB / 1.153 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.712, allocations: 55.84 kB / 1.153 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.7126, allocations: 0.546 MB / 1.153 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.7127, allocations: 37.7 kB / 1.153 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.7129, allocations: 328.7 kB / 1.153 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.713, allocations: 173.5 kB / 1.154 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.7131, allocations: 41.7 kB / 1.154 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7133, allocations: 374.7 kB / 1.154 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.7135, allocations: 173 kB / 1.154 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.7139, allocations: 264.8 kB / 1.154 GB, free: 2.176 MB / 0.9044 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.003248/0.7171, allocations: 1.449 MB / 1.156 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7172, allocations: 0 / 1.156 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007676/0.7179, allocations: 0.5305 MB / 1.156 GB, free: 140 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.718, allocations: 4 kB / 1.156 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.718, allocations: 4 kB / 1.156 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.718, allocations: 3.938 kB / 1.156 GB, free: 128 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.7184, allocations: 91.91 kB / 1.156 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.7184, allocations: 4 kB / 1.156 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/0.719, allocations: 55.75 kB / 1.157 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.7191, allocations: 19.98 kB / 1.157 GB, free: 15.96 MB / 0.92 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.0002692/0.7193, allocations: 245.7 kB / 1.157 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.621e-05/0.7194, allocations: 71.16 kB / 1.157 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.7196, allocations: 78.45 kB / 1.157 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.7196, allocations: 15.98 kB / 1.157 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7196, allocations: 0 / 1.157 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000653/0.7203, allocations: 0.5066 MB / 1.157 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.7224, allocations: 1.585 MB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.7224, allocations: 4 kB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.7229, allocations: 115.8 kB / 1.159 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.723, allocations: 7.984 kB / 1.159 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.723, allocations: 20 kB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.723, allocations: 7.938 kB / 1.159 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.723, allocations: 12.44 kB / 1.159 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.7241, allocations: 0.8949 MB / 1.16 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.7244, allocations: 196.3 kB / 1.16 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.7245, allocations: 20 kB / 1.16 GB, free: 11.94 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.725, allocations: 44.58 kB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.7251, allocations: 47.77 kB / 1.16 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.7251, allocations: 20 kB / 1.16 GB, free: 11.83 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004923/0.7256, allocations: 406.8 kB / 1.161 GB, free: 11.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7256, allocations: 0 / 1.161 GB, free: 11.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005541/0.7262, allocations: 200 kB / 1.161 GB, free: 11.24 MB / 0.92 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.001675/0.7279, allocations: 1.521 MB / 1.162 GB, free: 9.637 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007443/0.7286, allocations: 441.2 kB / 1.163 GB, free: 9.207 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7286, allocations: 0 / 1.163 GB, free: 9.207 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.7291, allocations: 228.9 kB / 1.163 GB, free: 8.984 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.7315, allocations: 485.5 kB / 1.163 GB, free: 8.523 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007206/0.7387, allocations: 5.951 MB / 1.169 GB, free: 2.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.7393, allocations: 0.9772 MB / 1.17 GB, free: 1.336 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005339/0.7398, allocations: 169.8 kB / 1.17 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.7401, allocations: 247.4 kB / 1.171 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.7401, allocations: 4 kB / 1.171 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4882/1.228, allocations: 19.29 MB / 1.189 GB, free: 14 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/1.229, allocations: 269 kB / 1.19 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.549, allocations: 0 / 1.19 GB, free: 13.64 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches