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.001696/0.001696, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002366/0.002366, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.22 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.394, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2229/0.6169, allocations: 184.9 MB / 1.248 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8246/1.442, allocations: 13.07 MB / 1.261 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/1.443, allocations: 26.56 kB / 1.261 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/1.444, allocations: 338 kB / 1.261 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002409/1.447, allocations: 0.8718 MB / 1.262 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/1.449, allocations: 0.6235 MB / 1.263 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002966/1.452, allocations: 2.097 MB / 1.265 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008624/1.453, allocations: 0.5571 MB / 1.265 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/1.457, allocations: 1.596 MB / 1.267 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/1.459, allocations: 0.5292 MB / 1.267 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.849e-05/1.459, allocations: 34.53 kB / 1.267 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/1.461, allocations: 0.9685 MB / 1.268 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/1.462, allocations: 262.9 kB / 1.269 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/1.462, allocations: 369.9 kB / 1.269 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/1.464, allocations: 1.179 MB / 1.27 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.464, allocations: 4 kB / 1.27 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.464, allocations: 0 / 1.27 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.464, allocations: 0 / 1.27 GB, free: 5.262 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00189/1.466, allocations: 1.049 MB / 1.271 GB, free: 20.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.466, allocations: 12.8 kB / 1.271 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/1.467, allocations: 191.3 kB / 1.271 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/1.468, allocations: 0.5246 MB / 1.272 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/1.468, allocations: 98.47 kB / 1.272 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/1.468, allocations: 56.56 kB / 1.272 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/1.47, allocations: 0.7668 MB / 1.273 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/1.47, allocations: 5.969 kB / 1.273 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/1.47, allocations: 27.78 kB / 1.273 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/1.47, allocations: 22.33 kB / 1.273 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/1.471, allocations: 474.5 kB / 1.273 GB, free: 19.98 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.004467/1.475, allocations: 4.157 MB / 1.277 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/1.476, allocations: 108.4 kB / 1.277 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/1.476, allocations: 74.09 kB / 1.277 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.476, allocations: 92.02 kB / 1.278 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.476, allocations: 47.25 kB / 1.278 GB, free: 16.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.265e-06/1.476, allocations: 0 / 1.278 GB, free: 16.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007348/1.477, allocations: 243.8 kB / 1.278 GB, free: 16.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/1.477, allocations: 134.7 kB / 1.278 GB, free: 16.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/1.478, allocations: 0.8328 MB / 1.279 GB, free: 16.24 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/1.478, allocations: 34.89 kB / 1.279 GB, free: 16.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/1.479, allocations: 399.4 kB / 1.279 GB, free: 16.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/1.479, allocations: 37.94 kB / 1.279 GB, free: 16.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/1.479, allocations: 86.34 kB / 1.279 GB, free: 15.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.479, allocations: 325.8 kB / 1.28 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/1.479, allocations: 112 kB / 1.28 GB, free: 15.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/1.48, allocations: 347 kB / 1.28 GB, free: 15.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/1.48, allocations: 408.7 kB / 1.28 GB, free: 15.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.48, allocations: 2.625 kB / 1.28 GB, free: 15.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001054/1.481, allocations: 496.3 kB / 1.281 GB, free: 15.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.481, allocations: 8.656 kB / 1.281 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.481, allocations: 8.609 kB / 1.281 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/1.481, allocations: 9.906 kB / 1.281 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/1.482, allocations: 87.67 kB / 1.281 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/1.482, allocations: 21.39 kB / 1.281 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/1.483, allocations: 124.5 kB / 1.281 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/1.483, allocations: 24.52 kB / 1.281 GB, free: 14.99 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.0003248/1.483, allocations: 228 kB / 1.281 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/1.483, allocations: 71.81 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/1.483, allocations: 72.98 kB / 1.282 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.483, allocations: 1.719 kB / 1.282 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.483, allocations: 6.516 kB / 1.282 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.483, allocations: 0.75 kB / 1.282 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/1.485, allocations: 1.13 MB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.485, allocations: 1.906 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.612e-05/1.485, allocations: 20.95 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.485, allocations: 4.094 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/1.485, allocations: 3.812 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/1.485, allocations: 6.453 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.485, allocations: 7.109 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/1.486, allocations: 264.9 kB / 1.283 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/1.486, allocations: 165.4 kB / 1.283 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/1.486, allocations: 8.688 kB / 1.283 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/1.486, allocations: 22.69 kB / 1.283 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/1.486, allocations: 17.16 kB / 1.283 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.486, allocations: 6.562 kB / 1.283 GB, free: 13.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009206/1.487, allocations: 0.5918 MB / 1.284 GB, free: 13.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.487, allocations: 1.125 kB / 1.284 GB, free: 13.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006574/1.488, allocations: 155.7 kB / 1.284 GB, free: 13.69 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.0005027/1.488, allocations: 186.1 kB / 1.284 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005382/1.489, allocations: 234.4 kB / 1.284 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.489, allocations: 1 kB / 1.284 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/1.489, allocations: 48.53 kB / 1.284 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.491, allocations: 370.5 kB / 1.285 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/1.493, allocations: 1.252 MB / 1.286 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/1.493, allocations: 0.9376 MB / 1.287 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005984/1.494, allocations: 142.1 kB / 1.287 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.494, allocations: 46.23 kB / 1.287 GB, free: 12.08 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.494, allocations: 5.203 kB / 1.287 GB, free: 12.07 MB / 1.014 GB Notification: Performance of Templates: time 0.02968/1.524, allocations: 11.28 MB / 1.298 GB, free: 11.4 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