Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 100.1 kB / 15.88 MB, free: 8 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.00185/0.00185, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.418/1.418, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 68.84 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.349, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2086/0.5577, allocations: 188.1 MB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.5678, allocations: 5.755 MB / 1.242 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.5697, allocations: 35.75 kB / 1.242 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.5718, allocations: 0.4935 MB / 1.243 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004801/0.5766, allocations: 1.513 MB / 1.244 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.58, allocations: 1.086 MB / 1.245 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7722/1.352, allocations: 3.483 MB / 1.249 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/1.354, allocations: 0.8527 MB / 1.249 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/1.357, allocations: 0.8889 MB / 1.25 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/1.359, allocations: 0.8478 MB / 1.251 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/1.359, allocations: 53.47 kB / 1.251 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/1.363, allocations: 1.716 MB / 1.253 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006409/1.363, allocations: 442.2 kB / 1.253 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/1.364, allocations: 0.5767 MB / 1.254 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/1.367, allocations: 1.574 MB / 1.255 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.367, allocations: 0.5156 kB / 1.255 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.166e-06/1.367, allocations: 0 / 1.255 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.212e-05/1.367, allocations: 1.203 kB / 1.255 GB, free: 3.879 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003306/1.37, allocations: 1.472 MB / 1.257 GB, free: 19.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.37, allocations: 8.75 kB / 1.257 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/1.373, allocations: 333 kB / 1.257 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/1.374, allocations: 0.7731 MB / 1.258 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003716/1.375, allocations: 129.4 kB / 1.258 GB, free: 18.74 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.375, allocations: 85.61 kB / 1.258 GB, free: 18.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/1.377, allocations: 1.061 MB / 1.259 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.377, allocations: 2.906 kB / 1.259 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/1.377, allocations: 41.97 kB / 1.259 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/1.377, allocations: 35 kB / 1.259 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/1.378, allocations: 0.8404 MB / 1.26 GB, free: 18.59 MB / 1.014 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.006496/1.385, allocations: 4.05 MB / 1.264 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/1.386, allocations: 374.8 kB / 1.264 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/1.386, allocations: 209.7 kB / 1.264 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/1.386, allocations: 99.97 kB / 1.265 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/1.386, allocations: 40.2 kB / 1.265 GB, free: 16.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 2.244e-06/1.386, allocations: 0 / 1.265 GB, free: 16.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.003193/1.39, allocations: 1.332 MB / 1.266 GB, free: 15.99 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/1.39, allocations: 58.66 kB / 1.266 GB, free: 15.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/1.391, allocations: 0.9912 MB / 1.267 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/1.391, allocations: 37.31 kB / 1.267 GB, free: 15.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/1.392, allocations: 499.9 kB / 1.267 GB, free: 15.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.392, allocations: 137.2 kB / 1.268 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/1.392, allocations: 114.3 kB / 1.268 GB, free: 15.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.392, allocations: 331 kB / 1.268 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/1.393, allocations: 233.5 kB / 1.268 GB, free: 15.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/1.394, allocations: 409 kB / 1.269 GB, free: 14.93 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/1.397, allocations: 1.191 MB / 1.27 GB, free: 14.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.397, allocations: 2.219 kB / 1.27 GB, free: 14.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002386/1.399, allocations: 0.7588 MB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/1.399, allocations: 8.688 kB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/1.399, allocations: 7.062 kB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/1.399, allocations: 7.844 kB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/1.4, allocations: 138 kB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.264e-05/1.4, allocations: 11.97 kB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.401, allocations: 94.95 kB / 1.271 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/1.401, allocations: 25.22 kB / 1.271 GB, free: 14.51 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0007509/1.402, allocations: 307.1 kB / 1.271 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/1.402, allocations: 108.6 kB / 1.271 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/1.403, allocations: 101.9 kB / 1.271 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.403, allocations: 6.75 kB / 1.271 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/1.403, allocations: 1.125 kB / 1.271 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008443/1.403, allocations: 0.6823 MB / 1.272 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/1.406, allocations: 1.585 MB / 1.273 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.406, allocations: 5.094 kB / 1.274 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/1.407, allocations: 82.89 kB / 1.274 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/1.407, allocations: 9.188 kB / 1.274 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/1.407, allocations: 16.03 kB / 1.274 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/1.407, allocations: 9.953 kB / 1.274 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.407, allocations: 7.156 kB / 1.274 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.408, allocations: 0.83 MB / 1.274 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/1.409, allocations: 237.8 kB / 1.275 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/1.409, allocations: 17.27 kB / 1.275 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/1.409, allocations: 55.05 kB / 1.275 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/1.41, allocations: 34.61 kB / 1.275 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/1.41, allocations: 24.36 kB / 1.275 GB, free: 12.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001184/1.411, allocations: 0.7082 MB / 1.275 GB, free: 12.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.21e-07/1.411, allocations: 2.906 kB / 1.275 GB, free: 12.83 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001065/1.412, allocations: 252.2 kB / 1.276 GB, free: 12.83 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0005718/1.412, allocations: 209.5 kB / 1.276 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.414, allocations: 490.3 kB / 1.276 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.414, allocations: 2.969 kB / 1.276 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/1.414, allocations: 193.1 kB / 1.277 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/1.417, allocations: 0.5951 MB / 1.277 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/1.42, allocations: 2.25 MB / 1.279 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008349/1.421, allocations: 1.098 MB / 1.28 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/1.421, allocations: 76.38 kB / 1.28 GB, free: 10.72 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.421, allocations: 0 / 1.28 GB, free: 10.72 MB / 1.014 GB Notification: Performance of Templates: time 0.03072/1.452, allocations: 16.32 MB / 1.296 GB, free: 9.367 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches