Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_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.001407/0.001406, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.429/2.429, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 67.61 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2301, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.168/0.3981, allocations: 181.9 MB / 1.242 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00709/0.4052, allocations: 5.361 MB / 1.247 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007157/0.406, allocations: 31.81 kB / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009608/0.407, allocations: 437.4 kB / 1.247 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.4102, allocations: 1.68 MB / 1.249 GB, free: 116 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.3998/0.81, allocations: 0.7791 MB / 1.25 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.8122, allocations: 2.198 MB / 1.252 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006848/0.8129, allocations: 0.6854 MB / 1.253 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007304/0.8136, allocations: 0.7416 MB / 1.253 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.8148, allocations: 0.6794 MB / 1.254 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.815, allocations: 76.59 kB / 1.254 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.8169, allocations: 1.395 MB / 1.255 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.8171, allocations: 324.3 kB / 1.256 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.8175, allocations: 473.5 kB / 1.256 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.8189, allocations: 1.642 MB / 1.258 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8189, allocations: 0.75 kB / 1.258 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.8189, allocations: 2.062 kB / 1.258 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.8189, allocations: 0 / 1.258 GB, free: 6.043 MB / 0.9981 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.001375/0.8203, allocations: 1.172 MB / 1.259 GB, free: 21.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.8203, allocations: 11.47 kB / 1.259 GB, free: 21.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.842e-05/0.8204, allocations: 102.1 kB / 1.259 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.8219, allocations: 274.8 kB / 1.259 GB, free: 21.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.8227, allocations: 0.6717 MB / 1.26 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.8227, allocations: 47.69 kB / 1.26 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.8228, allocations: 64.52 kB / 1.26 GB, free: 21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.8236, allocations: 0.5875 MB / 1.261 GB, free: 20.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.8236, allocations: 0 / 1.261 GB, free: 20.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.8236, allocations: 23.34 kB / 1.261 GB, free: 20.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.8237, allocations: 24.36 kB / 1.261 GB, free: 20.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.8244, allocations: 0.5011 MB / 1.261 GB, free: 20.95 MB / 1.014 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.002443/0.8268, allocations: 2.399 MB / 1.264 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.8274, allocations: 417.1 kB / 1.264 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.8277, allocations: 229.7 kB / 1.264 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.8278, allocations: 99.78 kB / 1.264 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.8279, allocations: 47.67 kB / 1.264 GB, free: 19.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.402e-06/0.8279, allocations: 0.9688 kB / 1.264 GB, free: 19.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.00214/0.83, allocations: 1.434 MB / 1.266 GB, free: 19.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.8301, allocations: 56.09 kB / 1.266 GB, free: 19.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.8305, allocations: 0.5399 MB / 1.266 GB, free: 19.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.8306, allocations: 40.11 kB / 1.266 GB, free: 19.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.8308, allocations: 330.6 kB / 1.267 GB, free: 18.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/0.8309, allocations: 172 kB / 1.267 GB, free: 18.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.831, allocations: 88.06 kB / 1.267 GB, free: 18.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8311, allocations: 370.2 kB / 1.267 GB, free: 18.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.8314, allocations: 180.3 kB / 1.267 GB, free: 18.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.8317, allocations: 258.9 kB / 1.268 GB, free: 18.42 MB / 1.014 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.002955/0.8347, allocations: 1.445 MB / 1.269 GB, free: 18.17 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8347, allocations: 0 / 1.269 GB, free: 18.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007011/0.8354, allocations: 0.5262 MB / 1.27 GB, free: 18.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.8354, allocations: 14.38 kB / 1.27 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8354, allocations: 5.391 kB / 1.27 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.8354, allocations: 4.469 kB / 1.27 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.8358, allocations: 94.16 kB / 1.27 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.8358, allocations: 6.25 kB / 1.27 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.8363, allocations: 20.61 kB / 1.27 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.8364, allocations: 16.64 kB / 1.27 GB, free: 18.09 MB / 1.014 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.0002442/0.8366, allocations: 252.6 kB / 1.27 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.414e-05/0.8367, allocations: 69.86 kB / 1.27 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.8368, allocations: 80.14 kB / 1.27 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.8368, allocations: 6.641 kB / 1.27 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8368, allocations: 1.203 kB / 1.27 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006179/0.8375, allocations: 0.5096 MB / 1.271 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.8394, allocations: 1.583 MB / 1.272 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.8394, allocations: 7.938 kB / 1.272 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.84, allocations: 117.6 kB / 1.272 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.84, allocations: 7.344 kB / 1.272 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.84, allocations: 21.02 kB / 1.272 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/0.84, allocations: 8.938 kB / 1.272 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.84, allocations: 9.969 kB / 1.272 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.8412, allocations: 0.8945 MB / 1.273 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.8415, allocations: 200.8 kB / 1.273 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.8416, allocations: 17.84 kB / 1.273 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.842, allocations: 24.23 kB / 1.273 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.8421, allocations: 42.58 kB / 1.273 GB, free: 16.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.8422, allocations: 25.2 kB / 1.273 GB, free: 16.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003748/0.8425, allocations: 397.1 kB / 1.274 GB, free: 16.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8425, allocations: 0.8438 kB / 1.274 GB, free: 16.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00053/0.8431, allocations: 201.1 kB / 1.274 GB, free: 16.72 MB / 1.014 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.001436/0.8445, allocations: 1.542 MB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00067/0.8452, allocations: 486 kB / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8452, allocations: 0 / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.8455, allocations: 230.2 kB / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.8474, allocations: 485.1 kB / 1.277 GB, free: 15.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.853, allocations: 5.622 MB / 1.282 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.8535, allocations: 0.9795 MB / 1.283 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005583/0.8541, allocations: 171.4 kB / 1.283 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.8544, allocations: 250.5 kB / 1.284 GB, free: 12.79 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.8544, allocations: 0.7188 kB / 1.284 GB, free: 12.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.191/5.045, allocations: 20.26 MB / 1.303 GB, free: 11.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/20.3, allocations: 15.69 kB / 1.303 GB, free: 11.34 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches