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.0067/0.0067, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001891/0.001891, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.666/2.666, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 72.06 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2698, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6688/0.9386, allocations: 181.9 MB / 1.398 GB, free: 6.867 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007934/0.9466, allocations: 5.361 MB / 1.403 GB, free: 2.512 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.9472, allocations: 35.09 kB / 1.403 GB, free: 2.5 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.9483, allocations: 443.2 kB / 1.403 GB, free: 2.137 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.9516, allocations: 1.672 MB / 1.405 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.9533, allocations: 0.8043 MB / 1.406 GB, free: 224 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00229/0.9556, allocations: 2.199 MB / 1.408 GB, free: 14.95 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.9564, allocations: 0.6815 MB / 1.409 GB, free: 14.51 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009817/0.9574, allocations: 0.7379 MB / 1.409 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.9588, allocations: 0.6887 MB / 1.41 GB, free: 13.68 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.9589, allocations: 75.19 kB / 1.41 GB, free: 13.68 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.9611, allocations: 1.4 MB / 1.412 GB, free: 12.91 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.9614, allocations: 320.6 kB / 1.412 GB, free: 12.7 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.9619, allocations: 473.5 kB / 1.412 GB, free: 12.4 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.9639, allocations: 1.663 MB / 1.414 GB, free: 11.33 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.9639, allocations: 1.219 kB / 1.414 GB, free: 11.33 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.41e-07/0.9639, allocations: 0 / 1.414 GB, free: 11.33 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.9639, allocations: 0 / 1.414 GB, free: 11.33 MB / 1.107 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.001614/0.9655, allocations: 1.219 MB / 1.415 GB, free: 10.36 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.9656, allocations: 10.28 kB / 1.415 GB, free: 10.36 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.9657, allocations: 97.36 kB / 1.415 GB, free: 10.27 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.9674, allocations: 278.5 kB / 1.415 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009963/0.9684, allocations: 0.7171 MB / 1.416 GB, free: 9.57 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.9684, allocations: 47.16 kB / 1.416 GB, free: 9.551 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/0.9685, allocations: 58.38 kB / 1.416 GB, free: 9.531 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.9694, allocations: 0.5842 MB / 1.417 GB, free: 9.191 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.9695, allocations: 3.938 kB / 1.417 GB, free: 9.188 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.9695, allocations: 24.69 kB / 1.417 GB, free: 9.168 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.9696, allocations: 22.19 kB / 1.417 GB, free: 9.168 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.9704, allocations: 0.4995 MB / 1.417 GB, free: 8.926 MB / 1.107 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.002974/0.9734, allocations: 2.385 MB / 1.42 GB, free: 6.902 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/0.9741, allocations: 435.3 kB / 1.42 GB, free: 6.672 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.9745, allocations: 228.4 kB / 1.42 GB, free: 6.551 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.9746, allocations: 95.62 kB / 1.42 GB, free: 6.453 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.9747, allocations: 41.89 kB / 1.42 GB, free: 6.406 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.9747, allocations: 0 / 1.42 GB, free: 6.406 MB / 1.107 GB Notification: Performance of matching and sorting (n=48): time 0.002655/0.9773, allocations: 1.453 MB / 1.422 GB, free: 5.496 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.9774, allocations: 56.75 kB / 1.422 GB, free: 5.434 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.978, allocations: 0.5405 MB / 1.422 GB, free: 5.109 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.978, allocations: 38.05 kB / 1.423 GB, free: 5.07 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.9783, allocations: 331.4 kB / 1.423 GB, free: 4.781 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.9784, allocations: 178.4 kB / 1.423 GB, free: 4.625 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.9786, allocations: 87.84 kB / 1.423 GB, free: 4.57 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.9787, allocations: 374.4 kB / 1.423 GB, free: 4.211 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.979, allocations: 171.8 kB / 1.424 GB, free: 4.125 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.9794, allocations: 262.3 kB / 1.424 GB, free: 3.949 MB / 1.107 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.003192/0.9826, allocations: 1.447 MB / 1.425 GB, free: 2.941 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9826, allocations: 0 / 1.425 GB, free: 2.941 MB / 1.107 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008522/0.9834, allocations: 0.5346 MB / 1.426 GB, free: 2.398 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9835, allocations: 4 kB / 1.426 GB, free: 2.395 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9835, allocations: 4 kB / 1.426 GB, free: 2.391 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.9835, allocations: 8.156 kB / 1.426 GB, free: 2.383 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.9839, allocations: 98.2 kB / 1.426 GB, free: 2.289 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.9839, allocations: 0 / 1.426 GB, free: 2.289 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.9844, allocations: 21.06 kB / 1.426 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.9845, allocations: 19.94 kB / 1.426 GB, free: 2.25 MB / 1.107 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.0003026/0.9848, allocations: 253.9 kB / 1.426 GB, free: 1.996 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.9849, allocations: 71.58 kB / 1.426 GB, free: 1.926 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.9851, allocations: 78.45 kB / 1.426 GB, free: 1.848 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9851, allocations: 12 kB / 1.426 GB, free: 1.836 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9851, allocations: 0 / 1.426 GB, free: 1.836 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007207/0.9858, allocations: 0.5067 MB / 1.427 GB, free: 1.301 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.9881, allocations: 1.589 MB / 1.428 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.9881, allocations: 4 kB / 1.428 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.9886, allocations: 119.8 kB / 1.429 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-06/0.9886, allocations: 4 kB / 1.429 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.9887, allocations: 20 kB / 1.429 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.9887, allocations: 8.5 kB / 1.429 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.9887, allocations: 16.81 kB / 1.429 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.9899, allocations: 0.8949 MB / 1.429 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.9902, allocations: 204.6 kB / 1.43 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.9903, allocations: 20 kB / 1.43 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.9908, allocations: 19.98 kB / 1.43 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.9908, allocations: 47.78 kB / 1.43 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.9909, allocations: 23.98 kB / 1.43 GB, free: 14.12 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004378/0.9913, allocations: 402.8 kB / 1.43 GB, free: 13.73 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9913, allocations: 0 / 1.43 GB, free: 13.73 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005967/0.9919, allocations: 199.9 kB / 1.43 GB, free: 13.54 MB / 1.123 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.001746/0.9937, allocations: 1.532 MB / 1.432 GB, free: 11.93 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007553/0.9945, allocations: 441.2 kB / 1.432 GB, free: 11.5 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.9945, allocations: 4.312 kB / 1.432 GB, free: 11.49 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.9948, allocations: 235.6 kB / 1.432 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.9969, allocations: 499.2 kB / 1.433 GB, free: 10.79 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/1.004, allocations: 5.491 MB / 1.438 GB, free: 5.062 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/1.004, allocations: 0.9733 MB / 1.439 GB, free: 4.062 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004784/1.005, allocations: 157.9 kB / 1.439 GB, free: 3.906 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/1.005, allocations: 255.3 kB / 1.44 GB, free: 3.656 MB / 1.123 GB Notification: Performance of SimCode: time 2.61e-07/1.005, allocations: 0 / 1.44 GB, free: 3.656 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.694/2.699, allocations: 20.38 MB / 1.46 GB, free: 15.65 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/17.97, allocations: 11.62 kB / 1.46 GB, free: 15.64 MB / 1.154 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