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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00116/0.00116, allocations: 92.16 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.001721/0.001721, allocations: 181.8 kB / 16.92 MB, free: 6.922 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004009, allocations: 8 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8043/0.8047, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2105/1.015, allocations: 177.3 MB / 1.197 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01045/1.026, allocations: 5.37 MB / 1.202 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/1.027, allocations: 27.81 kB / 1.202 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/1.029, allocations: 382 kB / 1.202 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005266/1.034, allocations: 1.568 MB / 1.204 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/1.037, allocations: 0.726 MB / 1.205 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004268/1.041, allocations: 2.972 MB / 1.208 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/1.042, allocations: 0.5739 MB / 1.208 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/1.044, allocations: 0.6066 MB / 1.209 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/1.046, allocations: 0.6887 MB / 1.209 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/1.047, allocations: 27.94 kB / 1.209 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003637/1.05, allocations: 1.601 MB / 1.211 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005391/1.051, allocations: 271.1 kB / 1.211 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000914/1.052, allocations: 431.6 kB / 1.212 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/1.054, allocations: 1.22 MB / 1.213 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.054, allocations: 4 kB / 1.213 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.514e-06/1.054, allocations: 0 / 1.213 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.958e-05/1.054, allocations: 0 / 1.213 GB, free: 13.46 MB / 0.9669 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.002173/1.056, allocations: 1.014 MB / 1.214 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.056, allocations: 19.92 kB / 1.214 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/1.058, allocations: 278.7 kB / 1.214 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/1.06, allocations: 0.6709 MB / 1.215 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/1.06, allocations: 45.31 kB / 1.215 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/1.06, allocations: 63.98 kB / 1.215 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.061, allocations: 0.5804 MB / 1.215 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/1.061, allocations: 0 / 1.215 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/1.061, allocations: 20 kB / 1.215 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/1.061, allocations: 29.31 kB / 1.216 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009807/1.062, allocations: 0.5009 MB / 1.216 GB, free: 10.15 MB / 0.9669 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.003856/1.066, allocations: 2.392 MB / 1.218 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/1.067, allocations: 418.9 kB / 1.219 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/1.068, allocations: 224.8 kB / 1.219 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/1.068, allocations: 97.09 kB / 1.219 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/1.068, allocations: 38.5 kB / 1.219 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/1.068, allocations: 0 / 1.219 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.003159/1.071, allocations: 1.439 MB / 1.22 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/1.071, allocations: 55.84 kB / 1.221 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/1.072, allocations: 0.5421 MB / 1.221 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/1.072, allocations: 41.7 kB / 1.221 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/1.072, allocations: 324.7 kB / 1.221 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/1.072, allocations: 173.5 kB / 1.222 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/1.073, allocations: 37.7 kB / 1.222 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.073, allocations: 378.7 kB / 1.222 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/1.073, allocations: 173 kB / 1.222 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/1.074, allocations: 260.8 kB / 1.222 GB, free: 3.246 MB / 0.9669 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.003498/1.077, allocations: 1.452 MB / 1.224 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.077, allocations: 3.938 kB / 1.224 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009364/1.078, allocations: 0.5344 MB / 1.224 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.078, allocations: 5.406 kB / 1.224 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.078, allocations: 4 kB / 1.224 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.078, allocations: 4 kB / 1.224 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/1.078, allocations: 95.84 kB / 1.224 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.078, allocations: 3.984 kB / 1.224 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/1.079, allocations: 45.03 kB / 1.224 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/1.079, allocations: 19.94 kB / 1.225 GB, free: 1.027 MB / 0.9669 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.0004515/1.08, allocations: 245.7 kB / 1.225 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/1.08, allocations: 71.16 kB / 1.225 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/1.08, allocations: 78.45 kB / 1.225 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.08, allocations: 8 kB / 1.225 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.08, allocations: 0 / 1.225 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008005/1.081, allocations: 0.5144 MB / 1.225 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/1.084, allocations: 1.581 MB / 1.227 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.084, allocations: 4 kB / 1.227 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/1.084, allocations: 123.8 kB / 1.227 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/1.084, allocations: 4 kB / 1.227 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/1.084, allocations: 20 kB / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/1.084, allocations: 4 kB / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.084, allocations: 20.31 kB / 1.227 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.086, allocations: 0.8989 MB / 1.228 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/1.086, allocations: 192.3 kB / 1.228 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.086, allocations: 20 kB / 1.228 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/1.087, allocations: 40.83 kB / 1.228 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/1.087, allocations: 47.77 kB / 1.228 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/1.087, allocations: 23.98 kB / 1.228 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005639/1.088, allocations: 402.8 kB / 1.229 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/1.088, allocations: 0 / 1.229 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007799/1.088, allocations: 200 kB / 1.229 GB, free: 12.31 MB / 0.9825 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.0004868/1.089, allocations: 198.6 kB / 1.229 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008674/1.09, allocations: 433.5 kB / 1.229 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.09, allocations: 4 kB / 1.229 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/1.09, allocations: 240.3 kB / 1.23 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/1.093, allocations: 468.6 kB / 1.23 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/1.096, allocations: 1.95 MB / 1.232 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/1.097, allocations: 0.9736 MB / 1.233 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/1.097, allocations: 71.42 kB / 1.233 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of SimCode: time 7.92e-07/1.097, allocations: 0 / 1.233 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.02225/1.119, allocations: 11.5 MB / 1.244 GB, free: 12.47 MB / 0.9981 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