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 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.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.001566/0.001566, allocations: 112.6 kB / 16.37 MB, free: 6 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.001858/0.001858, allocations: 196 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.332/1.332, 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 11.0.0-master/package.mo): time 2.473/2.473, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.59 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2576, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6568/0.9144, allocations: 187.1 MB / 1.209 GB, free: 13.58 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.9294, allocations: 13.02 MB / 1.222 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.9307, allocations: 27.38 kB / 1.222 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.932, allocations: 416.8 kB / 1.223 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.9343, allocations: 0.9185 MB / 1.223 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.936, allocations: 0.7133 MB / 1.224 GB, free: 1.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.9378, allocations: 1.502 MB / 1.226 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008178/0.9387, allocations: 0.653 MB / 1.226 GB, free: 180 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.9421, allocations: 1.721 MB / 1.228 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.9434, allocations: 0.5031 MB / 1.228 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.9436, allocations: 56.84 kB / 1.229 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.9451, allocations: 0.8783 MB / 1.229 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.9454, allocations: 271.3 kB / 1.23 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.9458, allocations: 394 kB / 1.23 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.9473, allocations: 1.168 MB / 1.231 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9473, allocations: 3.984 kB / 1.231 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9473, allocations: 0 / 1.231 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.9473, allocations: 0 / 1.231 GB, free: 12.05 MB / 0.9356 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.001345/0.9487, allocations: 1.044 MB / 1.232 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.9487, allocations: 12.03 kB / 1.232 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009053/0.9496, allocations: 190.8 kB / 1.232 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000838/0.9505, allocations: 0.5442 MB / 1.233 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.9506, allocations: 49.31 kB / 1.233 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.9506, allocations: 56 kB / 1.233 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.9517, allocations: 0.7711 MB / 1.234 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.9517, allocations: 7.938 kB / 1.234 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.9518, allocations: 32 kB / 1.234 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.9518, allocations: 24.94 kB / 1.234 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.9527, allocations: 463.3 kB / 1.234 GB, free: 8.672 MB / 0.9356 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.00353/0.9562, allocations: 4.386 MB / 1.239 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.9564, allocations: 102.4 kB / 1.239 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.9565, allocations: 79.52 kB / 1.239 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.9566, allocations: 97.05 kB / 1.239 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.9567, allocations: 38.55 kB / 1.239 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.9567, allocations: 0 / 1.239 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006372/0.9573, allocations: 240.6 kB / 1.239 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.9574, allocations: 128.5 kB / 1.239 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009944/0.9584, allocations: 0.8449 MB / 1.24 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.9584, allocations: 29.7 kB / 1.24 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.9587, allocations: 402.8 kB / 1.24 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.9587, allocations: 39.53 kB / 1.24 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.9589, allocations: 93.83 kB / 1.241 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.959, allocations: 329.9 kB / 1.241 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.9592, allocations: 109.9 kB / 1.241 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.9597, allocations: 361.7 kB / 1.241 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.9602, allocations: 449.8 kB / 1.242 GB, free: 404 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9602, allocations: 0 / 1.242 GB, free: 404 kB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008962/0.9611, allocations: 0.4973 MB / 1.242 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.9612, allocations: 8 kB / 1.242 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.9612, allocations: 8 kB / 1.242 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.9612, allocations: 12.81 kB / 1.242 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.9615, allocations: 95.83 kB / 1.242 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.9615, allocations: 15.92 kB / 1.242 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.9622, allocations: 115 kB / 1.242 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.9622, allocations: 28.88 kB / 1.243 GB, free: 15.61 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002306/0.9625, allocations: 229.5 kB / 1.243 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.9626, allocations: 75.06 kB / 1.243 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.9627, allocations: 74.17 kB / 1.243 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9627, allocations: 4 kB / 1.243 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9627, allocations: 0 / 1.243 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9627, allocations: 0 / 1.243 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.964, allocations: 1.124 MB / 1.244 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.964, allocations: 4.125 kB / 1.244 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.9641, allocations: 23.92 kB / 1.244 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.9641, allocations: 4 kB / 1.244 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.9641, allocations: 4 kB / 1.244 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9641, allocations: 4 kB / 1.244 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9641, allocations: 0 / 1.244 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.9644, allocations: 267.9 kB / 1.244 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.9646, allocations: 180 kB / 1.244 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.9647, allocations: 8 kB / 1.244 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.9651, allocations: 11.98 kB / 1.244 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.9651, allocations: 19.86 kB / 1.244 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.9651, allocations: 8 kB / 1.244 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007318/0.9658, allocations: 0.5849 MB / 1.245 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9659, allocations: 0 / 1.245 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005491/0.9664, allocations: 163.8 kB / 1.245 GB, free: 12.68 MB / 0.9512 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.0004353/0.9669, allocations: 199.1 kB / 1.245 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.9674, allocations: 237.2 kB / 1.246 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9674, allocations: 0 / 1.246 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.733e-05/0.9674, allocations: 51.84 kB / 1.246 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.9689, allocations: 371.8 kB / 1.246 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.9703, allocations: 1.061 MB / 1.247 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.9707, allocations: 0.937 MB / 1.248 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000393/0.9711, allocations: 150.1 kB / 1.248 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.9712, allocations: 47.44 kB / 1.248 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.9712, allocations: 0 / 1.248 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of Templates: time 0.01913/0.9904, allocations: 11.71 MB / 1.26 GB, free: 14.06 MB / 0.9669 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=480 -s gbode -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