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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001113/0.001114, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00926/0.00926, allocations: 173.6 kB / 16.27 MB, free: 6.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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004127, allocations: 16.02 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3909, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2095/0.6005, allocations: 182.4 MB / 1.237 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.6171, allocations: 12.89 MB / 1.249 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.6187, allocations: 27.81 kB / 1.249 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.6202, allocations: 338 kB / 1.25 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.6234, allocations: 0.8752 MB / 1.251 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.8118/1.435, allocations: 0.6042 MB / 1.251 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003724/1.439, allocations: 2.106 MB / 1.253 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.44, allocations: 0.5434 MB / 1.254 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/1.444, allocations: 1.567 MB / 1.255 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/1.446, allocations: 0.5036 MB / 1.256 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.611e-05/1.446, allocations: 26.12 kB / 1.256 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/1.448, allocations: 0.9584 MB / 1.257 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003395/1.448, allocations: 248.3 kB / 1.257 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007237/1.449, allocations: 372.4 kB / 1.257 GB, free: 19.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/1.451, allocations: 1.165 MB / 1.259 GB, free: 19.51 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.451, allocations: 0 / 1.259 GB, free: 19.51 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.451, allocations: 0 / 1.259 GB, free: 19.51 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.451, allocations: 1.5 kB / 1.259 GB, free: 19.51 MB / 1.014 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.001487/1.452, allocations: 0.913 MB / 1.259 GB, free: 18.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.452, allocations: 8.375 kB / 1.259 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009832/1.453, allocations: 210.5 kB / 1.26 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/1.454, allocations: 0.5209 MB / 1.26 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/1.455, allocations: 108.9 kB / 1.26 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/1.455, allocations: 59.92 kB / 1.26 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.456, allocations: 0.7718 MB / 1.261 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.456, allocations: 4.969 kB / 1.261 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/1.456, allocations: 34.95 kB / 1.261 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/1.456, allocations: 21.75 kB / 1.261 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/1.457, allocations: 474 kB / 1.262 GB, free: 18.25 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.004403/1.462, allocations: 4.177 MB / 1.266 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/1.462, allocations: 106.1 kB / 1.266 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/1.462, allocations: 79.55 kB / 1.266 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/1.462, allocations: 93.83 kB / 1.266 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.462, allocations: 41.44 kB / 1.266 GB, free: 14.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/1.462, allocations: 0 / 1.266 GB, free: 14.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006614/1.463, allocations: 246.3 kB / 1.266 GB, free: 14.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/1.463, allocations: 131 kB / 1.266 GB, free: 14.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/1.464, allocations: 0.8444 MB / 1.267 GB, free: 14.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/1.464, allocations: 28.55 kB / 1.267 GB, free: 14.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/1.464, allocations: 394.6 kB / 1.268 GB, free: 14.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/1.464, allocations: 41.61 kB / 1.268 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/1.464, allocations: 34.58 kB / 1.268 GB, free: 14.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.465, allocations: 319.2 kB / 1.268 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/1.465, allocations: 119.6 kB / 1.268 GB, free: 13.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/1.465, allocations: 351.9 kB / 1.268 GB, free: 13.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/1.466, allocations: 414.2 kB / 1.269 GB, free: 13.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.466, allocations: 2.812 kB / 1.269 GB, free: 13.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001111/1.467, allocations: 0.4908 MB / 1.269 GB, free: 13.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.467, allocations: 9.406 kB / 1.269 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.467, allocations: 6.938 kB / 1.269 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/1.467, allocations: 13.59 kB / 1.269 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/1.467, allocations: 93.64 kB / 1.269 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.583e-05/1.467, allocations: 13.97 kB / 1.269 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/1.468, allocations: 141.6 kB / 1.269 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/1.468, allocations: 19.19 kB / 1.27 GB, free: 13.27 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.0003245/1.469, allocations: 232.8 kB / 1.27 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.469, allocations: 75.72 kB / 1.27 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/1.469, allocations: 70.95 kB / 1.27 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.469, allocations: 2.562 kB / 1.27 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.469, allocations: 0.75 kB / 1.27 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.469, allocations: 2.406 kB / 1.27 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/1.471, allocations: 1.128 MB / 1.271 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.471, allocations: 2.406 kB / 1.271 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/1.471, allocations: 16.72 kB / 1.271 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.471, allocations: 3.031 kB / 1.271 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/1.471, allocations: 14 kB / 1.271 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/1.471, allocations: 5.422 kB / 1.271 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.471, allocations: 3.531 kB / 1.271 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/1.471, allocations: 265.8 kB / 1.271 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/1.471, allocations: 168 kB / 1.271 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/1.471, allocations: 8.875 kB / 1.271 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/1.472, allocations: 26.28 kB / 1.271 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/1.472, allocations: 14.89 kB / 1.271 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.472, allocations: 4.781 kB / 1.271 GB, free: 12.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00112/1.473, allocations: 0.5922 MB / 1.272 GB, free: 11.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.473, allocations: 0 / 1.272 GB, free: 11.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007086/1.474, allocations: 156.2 kB / 1.272 GB, free: 11.97 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.000517/1.474, allocations: 193.5 kB / 1.272 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005814/1.475, allocations: 237.3 kB / 1.273 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.475, allocations: 1.375 kB / 1.273 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/1.475, allocations: 50.98 kB / 1.273 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.477, allocations: 375.9 kB / 1.273 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/1.479, allocations: 1.285 MB / 1.274 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/1.479, allocations: 0.9382 MB / 1.275 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006151/1.48, allocations: 138.4 kB / 1.275 GB, free: 10.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/1.48, allocations: 47.52 kB / 1.275 GB, free: 10.36 MB / 1.014 GB Notification: Performance of SimCode: time 1.663e-06/1.48, allocations: 4 kB / 1.275 GB, free: 10.36 MB / 1.014 GB Notification: Performance of Templates: time 0.03062/1.511, allocations: 11.44 MB / 1.287 GB, free: 9.656 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches