Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_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.00174/0.00174, allocations: 113.4 kB / 16.37 MB, free: 6.012 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.001955/0.001955, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.8 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2436, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7286/0.9723, allocations: 190.3 MB / 1.137 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009294/0.9816, allocations: 5.689 MB / 1.143 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.9836, allocations: 46.03 kB / 1.143 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.9854, allocations: 0.5647 MB / 1.143 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004779/0.9902, allocations: 1.61 MB / 1.145 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.9936, allocations: 1.204 MB / 1.146 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003923/0.9975, allocations: 2.502 MB / 1.148 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.9992, allocations: 0.9961 MB / 1.149 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/1.001, allocations: 1.03 MB / 1.15 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/1.003, allocations: 0.818 MB / 1.151 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002488/1.003, allocations: 100.4 kB / 1.151 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/1.008, allocations: 1.528 MB / 1.153 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006977/1.008, allocations: 494.8 kB / 1.153 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/1.009, allocations: 0.6225 MB / 1.154 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003898/1.013, allocations: 2.103 MB / 1.156 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.013, allocations: 1.531 kB / 1.156 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.735e-06/1.013, allocations: 0 / 1.156 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.793e-05/1.013, allocations: 3.938 kB / 1.156 GB, free: 1.652 MB / 0.8575 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.002788/1.016, allocations: 1.47 MB / 1.157 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.016, allocations: 9.156 kB / 1.157 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/1.018, allocations: 334.5 kB / 1.158 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/1.02, allocations: 0.807 MB / 1.158 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/1.02, allocations: 60.56 kB / 1.158 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/1.02, allocations: 93.53 kB / 1.159 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.022, allocations: 1.067 MB / 1.16 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/1.022, allocations: 0 / 1.16 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/1.022, allocations: 39.16 kB / 1.16 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/1.022, allocations: 37.45 kB / 1.16 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.024, allocations: 0.8357 MB / 1.16 GB, free: 15.3 MB / 0.8731 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.006793/1.03, allocations: 4.26 MB / 1.165 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/1.031, allocations: 367.5 kB / 1.165 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/1.031, allocations: 216.2 kB / 1.165 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/1.032, allocations: 95.88 kB / 1.165 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.032, allocations: 45.66 kB / 1.165 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 2.665e-06/1.032, allocations: 0 / 1.165 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38): time 0.002944/1.035, allocations: 1.334 MB / 1.167 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.035, allocations: 55.03 kB / 1.167 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/1.036, allocations: 1.001 MB / 1.168 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/1.036, allocations: 35.55 kB / 1.168 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/1.037, allocations: 0.4931 MB / 1.168 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/1.037, allocations: 142.9 kB / 1.168 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/1.037, allocations: 121.8 kB / 1.168 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.037, allocations: 332.5 kB / 1.169 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/1.038, allocations: 234 kB / 1.169 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/1.038, allocations: 430.8 kB / 1.169 GB, free: 9.453 MB / 0.8731 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.002422/1.041, allocations: 1.223 MB / 1.171 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.041, allocations: 1.156 kB / 1.171 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001869/1.043, allocations: 0.7684 MB / 1.171 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.043, allocations: 7.344 kB / 1.171 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.043, allocations: 7.25 kB / 1.171 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/1.043, allocations: 11.31 kB / 1.171 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/1.043, allocations: 146.6 kB / 1.171 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.872e-05/1.044, allocations: 11.5 kB / 1.171 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.045, allocations: 60.27 kB / 1.172 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/1.045, allocations: 26 kB / 1.172 GB, free: 8.438 MB / 0.8731 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0006056/1.045, allocations: 307.1 kB / 1.172 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/1.045, allocations: 101.7 kB / 1.172 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/1.046, allocations: 103.3 kB / 1.172 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.046, allocations: 8.062 kB / 1.172 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/1.046, allocations: 2.484 kB / 1.172 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007112/1.046, allocations: 0.6721 MB / 1.173 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/1.049, allocations: 1.585 MB / 1.174 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.049, allocations: 3.062 kB / 1.174 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/1.049, allocations: 85.5 kB / 1.174 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/1.049, allocations: 5.344 kB / 1.174 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/1.049, allocations: 16.92 kB / 1.174 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/1.049, allocations: 7.672 kB / 1.174 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.05, allocations: 12.91 kB / 1.174 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/1.051, allocations: 0.8374 MB / 1.175 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/1.051, allocations: 239.5 kB / 1.175 GB, free: 6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.051, allocations: 18.62 kB / 1.175 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/1.052, allocations: 33.03 kB / 1.176 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/1.052, allocations: 38.16 kB / 1.176 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/1.052, allocations: 36.41 kB / 1.176 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009597/1.053, allocations: 0.709 MB / 1.176 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/1.053, allocations: 0 / 1.176 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008633/1.054, allocations: 255.2 kB / 1.177 GB, free: 5.648 MB / 0.8731 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.0005916/1.054, allocations: 201.8 kB / 1.177 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009173/1.055, allocations: 0.4967 MB / 1.177 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.055, allocations: 2.094 kB / 1.177 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/1.056, allocations: 189.7 kB / 1.177 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.058, allocations: 0.6305 MB / 1.178 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/1.061, allocations: 1.826 MB / 1.18 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/1.061, allocations: 1.099 MB / 1.181 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006832/1.062, allocations: 257 kB / 1.181 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/1.062, allocations: 72.5 kB / 1.181 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/1.062, allocations: 0 / 1.181 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of Templates: time 0.03071/1.093, allocations: 19.73 MB / 1.2 GB, free: 9.211 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches