Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008776/0.0008776, allocations: 92.23 kB / 16.02 MB, free: 80 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.001122/0.001122, allocations: 181.4 kB / 16.92 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.857/2.857, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003619, allocations: 11.03 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2109/0.5853, allocations: 177.3 MB / 1.232 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008843/0.5942, allocations: 5.363 MB / 1.238 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.5957, allocations: 31.75 kB / 1.238 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.5971, allocations: 378 kB / 1.238 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.602, allocations: 1.568 MB / 1.24 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.6043, allocations: 0.7314 MB / 1.24 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00394/0.6083, allocations: 2.974 MB / 1.243 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.6094, allocations: 0.5699 MB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.611, allocations: 0.6144 MB / 1.244 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.6135, allocations: 0.6792 MB / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.6137, allocations: 28 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.617, allocations: 1.601 MB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.6175, allocations: 275.1 kB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008812/0.6184, allocations: 435.6 kB / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.6204, allocations: 1.212 MB / 1.248 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6204, allocations: 0 / 1.248 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6204, allocations: 0 / 1.248 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.443e-05/0.6205, allocations: 0 / 1.248 GB, free: 2.57 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.002104/0.6226, allocations: 1.028 MB / 1.249 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6226, allocations: 11.97 kB / 1.249 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.6247, allocations: 274.7 kB / 1.25 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.626, allocations: 0.667 MB / 1.25 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.6261, allocations: 45.31 kB / 1.25 GB, free: 468 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.6263, allocations: 63.98 kB / 1.251 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6876/1.314, allocations: 0.5753 MB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/1.314, allocations: 0.9375 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/1.314, allocations: 25.3 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/1.314, allocations: 23.05 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/1.315, allocations: 0.5062 MB / 1.252 GB, free: 193.2 MB / 0.9981 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.003615/1.319, allocations: 2.392 MB / 1.254 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/1.32, allocations: 426 kB / 1.254 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/1.32, allocations: 221 kB / 1.255 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/1.32, allocations: 103.4 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/1.32, allocations: 41.94 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/1.32, allocations: 0.75 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003026/1.323, allocations: 1.446 MB / 1.256 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/1.323, allocations: 60.17 kB / 1.256 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005747/1.324, allocations: 0.534 MB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/1.324, allocations: 38.42 kB / 1.257 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/1.324, allocations: 333.9 kB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.324, allocations: 162.2 kB / 1.257 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/1.325, allocations: 47.77 kB / 1.257 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/1.325, allocations: 373.3 kB / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/1.325, allocations: 177.6 kB / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/1.325, allocations: 262 kB / 1.258 GB, free: 190.7 MB / 0.9981 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.003088/1.328, allocations: 1.452 MB / 1.259 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.328, allocations: 0 / 1.259 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008172/1.329, allocations: 0.5205 MB / 1.26 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.329, allocations: 6.234 kB / 1.26 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.329, allocations: 5.094 kB / 1.26 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.329, allocations: 5.266 kB / 1.26 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/1.33, allocations: 98.61 kB / 1.26 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.33, allocations: 3.391 kB / 1.26 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/1.33, allocations: 52.17 kB / 1.26 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/1.33, allocations: 16.72 kB / 1.26 GB, free: 190.3 MB / 0.9981 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.0003586/1.331, allocations: 250 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.331, allocations: 68.88 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/1.331, allocations: 84.14 kB / 1.261 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.331, allocations: 2.906 kB / 1.261 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.331, allocations: 2.875 kB / 1.261 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006774/1.332, allocations: 0.507 MB / 1.261 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/1.334, allocations: 1.586 MB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.335, allocations: 5.281 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/1.335, allocations: 115.1 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/1.335, allocations: 8.969 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/1.335, allocations: 13.14 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/1.335, allocations: 11.34 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.335, allocations: 9.031 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/1.336, allocations: 0.9069 MB / 1.264 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/1.337, allocations: 199.3 kB / 1.264 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.337, allocations: 17.03 kB / 1.264 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/1.337, allocations: 41.59 kB / 1.264 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.338, allocations: 44.94 kB / 1.264 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/1.338, allocations: 26.92 kB / 1.264 GB, free: 189 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005369/1.338, allocations: 395.9 kB / 1.264 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.338, allocations: 2.719 kB / 1.264 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008206/1.339, allocations: 203.1 kB / 1.264 GB, free: 188.9 MB / 0.9981 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.000536/1.34, allocations: 187.6 kB / 1.265 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008879/1.341, allocations: 430.6 kB / 1.265 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.341, allocations: 5.469 kB / 1.265 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004142/1.341, allocations: 231.5 kB / 1.265 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/1.344, allocations: 479.7 kB / 1.266 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.347, allocations: 1.948 MB / 1.268 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007858/1.348, allocations: 0.9805 MB / 1.269 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/1.348, allocations: 58.56 kB / 1.269 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.348, allocations: 4 kB / 1.269 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02787/1.376, allocations: 11.5 MB / 1.28 GB, free: 184.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches