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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00722/0.00722, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001637/0.001637, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.449/2.449, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.763/0.7643, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1872/0.9515, allocations: 181.9 MB / 1.344 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008407/0.9599, allocations: 5.367 MB / 1.349 GB, free: 7.875 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.9611, allocations: 39.81 kB / 1.35 GB, free: 7.836 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.9626, allocations: 437.4 kB / 1.35 GB, free: 7.406 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.967, allocations: 1.672 MB / 1.352 GB, free: 5.727 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.9689, allocations: 0.8135 MB / 1.352 GB, free: 4.918 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.9718, allocations: 2.189 MB / 1.354 GB, free: 2.719 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008857/0.9727, allocations: 0.6812 MB / 1.355 GB, free: 2.023 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.9739, allocations: 0.7432 MB / 1.356 GB, free: 1.277 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.9754, allocations: 0.6866 MB / 1.357 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.9756, allocations: 76 kB / 1.357 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.9781, allocations: 1.395 MB / 1.358 GB, free: 15.13 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.9785, allocations: 319.1 kB / 1.358 GB, free: 14.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.979, allocations: 477.9 kB / 1.359 GB, free: 14.35 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.9811, allocations: 1.67 MB / 1.36 GB, free: 12.67 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9811, allocations: 0 / 1.36 GB, free: 12.67 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9811, allocations: 4 kB / 1.36 GB, free: 12.67 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.9811, allocations: 0 / 1.36 GB, free: 12.67 MB / 1.092 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.001691/0.9828, allocations: 1.206 MB / 1.362 GB, free: 11.41 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.9829, allocations: 16.03 kB / 1.362 GB, free: 11.39 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.9847, allocations: 275.2 kB / 1.362 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.9859, allocations: 0.7144 MB / 1.363 GB, free: 10.37 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.9859, allocations: 45.31 kB / 1.363 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.986, allocations: 60 kB / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.9871, allocations: 0.5804 MB / 1.363 GB, free: 9.676 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.9871, allocations: 0 / 1.363 GB, free: 9.676 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.9872, allocations: 27.98 kB / 1.363 GB, free: 9.648 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.9872, allocations: 21.31 kB / 1.363 GB, free: 9.629 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008856/0.9881, allocations: 0.497 MB / 1.364 GB, free: 9.133 MB / 1.092 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.003095/0.9912, allocations: 2.393 MB / 1.366 GB, free: 6.551 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007834/0.992, allocations: 426.8 kB / 1.366 GB, free: 6.125 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.9924, allocations: 220.8 kB / 1.367 GB, free: 5.906 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.9926, allocations: 101 kB / 1.367 GB, free: 5.789 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.9926, allocations: 42.5 kB / 1.367 GB, free: 5.738 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.9926, allocations: 0 / 1.367 GB, free: 5.738 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.002892/0.9955, allocations: 1.452 MB / 1.368 GB, free: 4.238 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.9956, allocations: 55.84 kB / 1.368 GB, free: 4.172 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.9963, allocations: 0.5421 MB / 1.369 GB, free: 3.617 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.9963, allocations: 33.7 kB / 1.369 GB, free: 3.578 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.9966, allocations: 333.2 kB / 1.369 GB, free: 3.25 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.9968, allocations: 174.5 kB / 1.369 GB, free: 3.078 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.997, allocations: 86.22 kB / 1.369 GB, free: 2.988 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.9972, allocations: 378.7 kB / 1.37 GB, free: 2.609 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.9975, allocations: 173 kB / 1.37 GB, free: 2.441 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.9979, allocations: 264.8 kB / 1.37 GB, free: 2.16 MB / 1.092 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.003284/1.001, allocations: 1.449 MB / 1.372 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.001, allocations: 4 kB / 1.372 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008499/1.002, allocations: 0.5307 MB / 1.372 GB, free: 120 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.002, allocations: 8 kB / 1.372 GB, free: 112 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.002, allocations: 160 / 1.372 GB, free: 112 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.002, allocations: 8 kB / 1.372 GB, free: 104 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/1.003, allocations: 95.89 kB / 1.372 GB, free: 8 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.003, allocations: 7.938 kB / 1.372 GB, free: 0 / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/1.003, allocations: 12.08 kB / 1.372 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/1.003, allocations: 19.98 kB / 1.372 GB, free: 15.96 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.0003255/1.004, allocations: 253.6 kB / 1.373 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.004, allocations: 71.58 kB / 1.373 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/1.004, allocations: 82.45 kB / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.004, allocations: 4 kB / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.004, allocations: 0 / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000708/1.005, allocations: 0.5183 MB / 1.373 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/1.007, allocations: 1.577 MB / 1.375 GB, free: 13.31 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.007, allocations: 7.938 kB / 1.375 GB, free: 13.3 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/1.007, allocations: 119.8 kB / 1.375 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.007, allocations: 8 kB / 1.375 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/1.007, allocations: 16.62 kB / 1.375 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.007, allocations: 8 kB / 1.375 GB, free: 13.15 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.007, allocations: 15.88 kB / 1.375 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/1.009, allocations: 0.9026 MB / 1.376 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/1.009, allocations: 200.7 kB / 1.376 GB, free: 11.95 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/1.009, allocations: 16 kB / 1.376 GB, free: 11.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/1.01, allocations: 26.17 kB / 1.376 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/1.01, allocations: 47.78 kB / 1.376 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/1.01, allocations: 23.98 kB / 1.376 GB, free: 11.84 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004367/1.01, allocations: 398.8 kB / 1.376 GB, free: 11.45 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.21e-07/1.01, allocations: 0 / 1.376 GB, free: 11.45 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006468/1.011, allocations: 196 kB / 1.377 GB, free: 11.26 MB / 1.107 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.0004057/1.011, allocations: 203.9 kB / 1.377 GB, free: 11.06 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0007919/1.012, allocations: 449.2 kB / 1.377 GB, free: 10.62 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.012, allocations: 0 / 1.377 GB, free: 10.62 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/1.012, allocations: 228.7 kB / 1.377 GB, free: 10.4 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.015, allocations: 489.2 kB / 1.378 GB, free: 9.934 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/1.017, allocations: 1.568 MB / 1.379 GB, free: 8.273 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/1.017, allocations: 0.9733 MB / 1.38 GB, free: 7.273 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005503/1.018, allocations: 161.9 kB / 1.381 GB, free: 7.113 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/1.018, allocations: 55.44 kB / 1.381 GB, free: 7.059 MB / 1.107 GB Notification: Performance of SimCode: time 3.8e-07/1.018, allocations: 4 kB / 1.381 GB, free: 7.055 MB / 1.107 GB Notification: Performance of Templates: time 0.02412/1.042, allocations: 14.93 MB / 1.395 GB, free: 8.336 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (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 & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches