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.001217/0.001217, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001232/0.001232, allocations: 196.3 kB / 16.91 MB, free: 6.188 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.508/2.508, allocations: 437 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 71.77 kB / 0.8694 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3474, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.8384/1.186, allocations: 179.5 MB / 1.193 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01018/1.196, allocations: 5.314 MB / 1.198 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/1.198, allocations: 31.97 kB / 1.198 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/1.2, allocations: 390.7 kB / 1.198 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006838/1.207, allocations: 1.568 MB / 1.2 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/1.21, allocations: 0.7372 MB / 1.201 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003911/1.214, allocations: 2.198 MB / 1.203 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/1.215, allocations: 0.6795 MB / 1.203 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/1.217, allocations: 0.7357 MB / 1.204 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/1.219, allocations: 0.7326 MB / 1.205 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003097/1.22, allocations: 75.5 kB / 1.205 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/1.223, allocations: 1.466 MB / 1.206 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006245/1.224, allocations: 330.5 kB / 1.207 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/1.225, allocations: 474.2 kB / 1.207 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/1.228, allocations: 1.244 MB / 1.208 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.228, allocations: 0 / 1.208 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.204e-06/1.228, allocations: 0 / 1.208 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.945e-05/1.228, allocations: 0 / 1.208 GB, free: 3.633 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.002921/1.231, allocations: 1.18 MB / 1.209 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.231, allocations: 10.84 kB / 1.209 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/1.233, allocations: 273 kB / 1.21 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/1.234, allocations: 0.6714 MB / 1.21 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/1.234, allocations: 43.75 kB / 1.21 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/1.234, allocations: 60.69 kB / 1.21 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/1.235, allocations: 0.5773 MB / 1.211 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.235, allocations: 6.594 kB / 1.211 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/1.235, allocations: 28.25 kB / 1.211 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/1.235, allocations: 25.78 kB / 1.211 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/1.236, allocations: 0.498 MB / 1.212 GB, free: 1.379 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.003231/1.239, allocations: 2.383 MB / 1.214 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008255/1.24, allocations: 438.9 kB / 1.214 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/1.241, allocations: 220.6 kB / 1.215 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/1.241, allocations: 96.45 kB / 1.215 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/1.241, allocations: 49.05 kB / 1.215 GB, free: 14.86 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/1.241, allocations: 4 kB / 1.215 GB, free: 14.86 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.00297/1.244, allocations: 1.427 MB / 1.216 GB, free: 13.97 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/1.244, allocations: 60.88 kB / 1.216 GB, free: 13.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006076/1.244, allocations: 0.5382 MB / 1.217 GB, free: 13.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/1.245, allocations: 40.33 kB / 1.217 GB, free: 13.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/1.245, allocations: 331.3 kB / 1.217 GB, free: 13.24 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.245, allocations: 165.6 kB / 1.217 GB, free: 13.08 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.245, allocations: 94.16 kB / 1.217 GB, free: 12.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.245, allocations: 370.7 kB / 1.218 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/1.246, allocations: 177 kB / 1.218 GB, free: 12.44 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/1.246, allocations: 260.8 kB / 1.218 GB, free: 12.16 MB / 0.92 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.003301/1.249, allocations: 1.445 MB / 1.219 GB, free: 10.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.249, allocations: 0 / 1.219 GB, free: 10.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008598/1.25, allocations: 0.5266 MB / 1.22 GB, free: 10.13 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/1.25, allocations: 8 kB / 1.22 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.25, allocations: 7.922 kB / 1.22 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.25, allocations: 8.031 kB / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/1.251, allocations: 87.91 kB / 1.22 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.251, allocations: 4.859 kB / 1.22 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/1.251, allocations: 50.44 kB / 1.22 GB, free: 9.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/1.251, allocations: 16 kB / 1.22 GB, free: 9.957 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 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.0004053/1.252, allocations: 249.6 kB / 1.22 GB, free: 9.703 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/1.252, allocations: 67.16 kB / 1.22 GB, free: 9.637 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/1.252, allocations: 82.45 kB / 1.221 GB, free: 9.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.252, allocations: 8 kB / 1.221 GB, free: 9.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.252, allocations: 0 / 1.221 GB, free: 9.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007186/1.253, allocations: 0.5106 MB / 1.221 GB, free: 9 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/1.255, allocations: 1.589 MB / 1.223 GB, free: 7.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.255, allocations: 11.94 kB / 1.223 GB, free: 7.281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/1.256, allocations: 107.8 kB / 1.223 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/1.256, allocations: 8 kB / 1.223 GB, free: 7.168 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/1.256, allocations: 19.98 kB / 1.223 GB, free: 7.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/1.256, allocations: 12.47 kB / 1.223 GB, free: 7.137 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.256, allocations: 4 kB / 1.223 GB, free: 7.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/1.257, allocations: 0.9072 MB / 1.224 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/1.258, allocations: 196.3 kB / 1.224 GB, free: 5.938 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.258, allocations: 15.98 kB / 1.224 GB, free: 5.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/1.258, allocations: 46.69 kB / 1.224 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/1.258, allocations: 43.83 kB / 1.224 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/1.259, allocations: 27.94 kB / 1.224 GB, free: 5.809 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004708/1.259, allocations: 394.8 kB / 1.224 GB, free: 5.426 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.259, allocations: 0 / 1.224 GB, free: 5.426 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000799/1.26, allocations: 204 kB / 1.225 GB, free: 5.227 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.0005318/1.26, allocations: 192.7 kB / 1.225 GB, free: 5.039 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009221/1.261, allocations: 473.2 kB / 1.225 GB, free: 4.578 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.261, allocations: 0 / 1.225 GB, free: 4.578 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/1.262, allocations: 237.3 kB / 1.225 GB, free: 4.348 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.264, allocations: 498.3 kB / 1.226 GB, free: 3.875 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/1.267, allocations: 1.873 MB / 1.228 GB, free: 1.906 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/1.268, allocations: 0.9772 MB / 1.229 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/1.268, allocations: 55.44 kB / 1.229 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of SimCode: time 8.62e-07/1.268, allocations: 0 / 1.229 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of Templates: time 0.01998/1.288, allocations: 11.62 MB / 1.24 GB, free: 5.332 MB / 0.9356 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/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