Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001653/0.001653, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.372/1.372, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 482.4 MB / 0.755 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 66.75 kB / 0.924 GB, free: 360 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7045, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2125/0.9171, allocations: 184.7 MB / 1.263 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01617/0.9333, allocations: 12.92 MB / 1.275 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008662/0.9342, allocations: 27.81 kB / 1.275 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.9354, allocations: 354.1 kB / 1.276 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.9375, allocations: 0.8519 MB / 1.277 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.9392, allocations: 0.6339 MB / 1.277 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.9411, allocations: 1.485 MB / 1.279 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000895/0.942, allocations: 0.6312 MB / 1.279 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.9458, allocations: 1.783 MB / 1.281 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.9472, allocations: 0.5266 MB / 1.282 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.9473, allocations: 56 kB / 1.282 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.9489, allocations: 0.9041 MB / 1.282 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.9492, allocations: 275.2 kB / 1.283 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.9497, allocations: 390 kB / 1.283 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.9509, allocations: 0.8693 MB / 1.284 GB, free: 72 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9509, allocations: 0 / 1.284 GB, free: 72 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9509, allocations: 0 / 1.284 GB, free: 72 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.9509, allocations: 0 / 1.284 GB, free: 72 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001607/0.9525, allocations: 1.051 MB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9526, allocations: 15.97 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.9536, allocations: 186.9 kB / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.9544, allocations: 0.5246 MB / 1.286 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.9547, allocations: 105.2 kB / 1.286 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.523e-05/0.9548, allocations: 56 kB / 1.286 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.9561, allocations: 0.7597 MB / 1.287 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.9562, allocations: 7.938 kB / 1.287 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.9562, allocations: 27.94 kB / 1.287 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.9563, allocations: 21 kB / 1.287 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000964/0.9572, allocations: 467.3 kB / 1.287 GB, free: 12.68 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.004233/0.9615, allocations: 4.254 MB / 1.291 GB, free: 8.184 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.9616, allocations: 106.4 kB / 1.291 GB, free: 8.043 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.9618, allocations: 75.5 kB / 1.291 GB, free: 7.957 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.9619, allocations: 97.09 kB / 1.292 GB, free: 7.844 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.962, allocations: 38.5 kB / 1.292 GB, free: 7.797 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.962, allocations: 0 / 1.292 GB, free: 7.797 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006643/0.9627, allocations: 236.8 kB / 1.292 GB, free: 7.559 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.9628, allocations: 144.5 kB / 1.292 GB, free: 7.387 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.964, allocations: 0.8251 MB / 1.293 GB, free: 6.547 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.964, allocations: 33.7 kB / 1.293 GB, free: 6.508 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.9643, allocations: 398.9 kB / 1.293 GB, free: 6.113 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.9644, allocations: 35.55 kB / 1.293 GB, free: 6.078 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.9645, allocations: 85.5 kB / 1.293 GB, free: 5.988 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9647, allocations: 329.8 kB / 1.294 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.965, allocations: 115.9 kB / 1.294 GB, free: 5.547 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.9655, allocations: 345.7 kB / 1.294 GB, free: 5.102 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.9661, allocations: 411 kB / 1.294 GB, free: 4.602 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.9661, allocations: 4 kB / 1.294 GB, free: 4.598 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009564/0.9671, allocations: 484.1 kB / 1.295 GB, free: 4.117 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.9671, allocations: 12.73 kB / 1.295 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9671, allocations: 8 kB / 1.295 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.9671, allocations: 12.47 kB / 1.295 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.9675, allocations: 91.83 kB / 1.295 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.9675, allocations: 12 kB / 1.295 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.9682, allocations: 123 kB / 1.295 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.9683, allocations: 31.98 kB / 1.295 GB, free: 3.832 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002676/0.9685, allocations: 223.4 kB / 1.295 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.9687, allocations: 75.06 kB / 1.295 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.9688, allocations: 78.08 kB / 1.296 GB, free: 3.453 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9688, allocations: 0 / 1.296 GB, free: 3.453 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9688, allocations: 4 kB / 1.296 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.9688, allocations: 7.875 kB / 1.296 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.9702, allocations: 1.121 MB / 1.297 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.9702, allocations: 8.062 kB / 1.297 GB, free: 2.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.9703, allocations: 23.98 kB / 1.297 GB, free: 2.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.9703, allocations: 0 / 1.297 GB, free: 2.199 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.9704, allocations: 4.125 kB / 1.297 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.9704, allocations: 8 kB / 1.297 GB, free: 2.188 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9704, allocations: 7.938 kB / 1.297 GB, free: 2.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.9707, allocations: 263.8 kB / 1.297 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.9709, allocations: 168.2 kB / 1.297 GB, free: 1.691 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.331e-05/0.971, allocations: 8 kB / 1.297 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.9714, allocations: 15.98 kB / 1.297 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.9714, allocations: 19.86 kB / 1.297 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.9714, allocations: 8 kB / 1.297 GB, free: 1.641 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008419/0.9723, allocations: 0.581 MB / 1.298 GB, free: 1.066 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9723, allocations: 0 / 1.298 GB, free: 1.066 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005552/0.9728, allocations: 167.7 kB / 1.298 GB, free: 0.9023 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004526/0.9733, allocations: 191.6 kB / 1.298 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.9738, allocations: 237 kB / 1.298 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9738, allocations: 0 / 1.298 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.9739, allocations: 52.72 kB / 1.298 GB, free: 456 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.9755, allocations: 380.5 kB / 1.299 GB, free: 84 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.9772, allocations: 1.301 MB / 1.3 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.9778, allocations: 0.933 MB / 1.301 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.9779, allocations: 51.44 kB / 1.301 GB, free: 13.7 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.978, allocations: 0 / 1.301 GB, free: 13.7 MB / 1.029 GB Notification: Performance of Templates: time 0.01601/0.994, allocations: 10.62 MB / 1.311 GB, free: 3.195 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches