Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_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_9_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.00139/0.00139, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001771/0.001771, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.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.459/2.459, allocations: 390.9 MB / 0.666 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003794, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8002, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2008/1.001, allocations: 170.2 MB / 1.121 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01448/1.016, allocations: 12.08 MB / 1.132 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008957/1.017, allocations: 27.81 kB / 1.132 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/1.018, allocations: 278.2 kB / 1.133 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/1.019, allocations: 0.7191 MB / 1.133 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/1.021, allocations: 0.563 MB / 1.134 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001919/1.023, allocations: 1.775 MB / 1.136 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007047/1.024, allocations: 498.8 kB / 1.136 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/1.026, allocations: 1.272 MB / 1.137 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007045/1.027, allocations: 486 kB / 1.138 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.522e-05/1.027, allocations: 24 kB / 1.138 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/1.028, allocations: 0.5924 MB / 1.139 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/1.029, allocations: 247.2 kB / 1.139 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/1.029, allocations: 165.3 kB / 1.139 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008886/1.03, allocations: 0.8185 MB / 1.14 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.03, allocations: 0 / 1.14 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.422e-06/1.03, allocations: 7.938 kB / 1.14 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.03, allocations: 0 / 1.14 GB, free: 1.277 MB / 0.8887 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.001264/1.031, allocations: 0.9193 MB / 1.141 GB, free: 316 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/1.031, allocations: 11.97 kB / 1.141 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009032/1.032, allocations: 202.8 kB / 1.141 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/1.033, allocations: 0.5056 MB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/1.033, allocations: 113.2 kB / 1.141 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/1.033, allocations: 56 kB / 1.141 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.034, allocations: 0.7714 MB / 1.142 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/1.034, allocations: 7.938 kB / 1.142 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/1.034, allocations: 20 kB / 1.142 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/1.035, allocations: 21 kB / 1.142 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/1.035, allocations: 479.2 kB / 1.143 GB, free: 14 MB / 0.9044 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.003892/1.039, allocations: 4.171 MB / 1.147 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/1.04, allocations: 106.4 kB / 1.147 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/1.04, allocations: 71.58 kB / 1.147 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/1.04, allocations: 105 kB / 1.147 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.04, allocations: 34.56 kB / 1.147 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.744e-06/1.04, allocations: 0 / 1.147 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007184/1.041, allocations: 240.6 kB / 1.147 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.041, allocations: 128.5 kB / 1.147 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/1.042, allocations: 0.8409 MB / 1.148 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/1.042, allocations: 29.7 kB / 1.148 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/1.042, allocations: 395 kB / 1.149 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/1.042, allocations: 43.53 kB / 1.149 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/1.043, allocations: 4 kB / 1.149 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.043, allocations: 322 kB / 1.149 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/1.043, allocations: 115.9 kB / 1.149 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/1.044, allocations: 345.9 kB / 1.149 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/1.044, allocations: 163.8 kB / 1.15 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.044, allocations: 4 kB / 1.15 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009314/1.045, allocations: 0.4884 MB / 1.15 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.045, allocations: 11.95 kB / 1.15 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.045, allocations: 8 kB / 1.15 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.045, allocations: 12.75 kB / 1.15 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/1.045, allocations: 95.83 kB / 1.15 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.045, allocations: 12 kB / 1.15 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/1.046, allocations: 131.5 kB / 1.15 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/1.046, allocations: 31.98 kB / 1.15 GB, free: 5.664 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000266/1.046, allocations: 221.6 kB / 1.151 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/1.046, allocations: 71.16 kB / 1.151 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/1.047, allocations: 78.05 kB / 1.151 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.047, allocations: 3.984 kB / 1.151 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.047, allocations: 4 kB / 1.151 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.047, allocations: 0 / 1.151 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/1.048, allocations: 1.136 MB / 1.152 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.048, allocations: 4 kB / 1.152 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.653e-05/1.048, allocations: 12 kB / 1.152 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.048, allocations: 4 kB / 1.152 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/1.048, allocations: 4 kB / 1.152 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.048, allocations: 4 kB / 1.152 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.048, allocations: 3.938 kB / 1.152 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/1.048, allocations: 275.9 kB / 1.152 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/1.049, allocations: 168.2 kB / 1.152 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.423e-05/1.049, allocations: 4 kB / 1.152 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/1.049, allocations: 23.97 kB / 1.152 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/1.049, allocations: 23.89 kB / 1.152 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/1.049, allocations: 4 kB / 1.152 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008265/1.05, allocations: 0.5849 MB / 1.153 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.05, allocations: 0 / 1.153 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005716/1.05, allocations: 155.8 kB / 1.153 GB, free: 2.734 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004901/1.051, allocations: 198.8 kB / 1.153 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004926/1.051, allocations: 237.2 kB / 1.154 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.051, allocations: 0 / 1.154 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/1.052, allocations: 51.84 kB / 1.154 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.053, allocations: 353 kB / 1.154 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.055, allocations: 1.25 MB / 1.155 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/1.055, allocations: 0.9372 MB / 1.156 GB, free: 15.66 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004701/1.056, allocations: 138.1 kB / 1.156 GB, free: 15.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/1.056, allocations: 43.44 kB / 1.156 GB, free: 15.48 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/1.056, allocations: 4 kB / 1.156 GB, free: 15.48 MB / 0.92 GB Notification: Performance of Templates: time 0.02019/1.076, allocations: 10.89 MB / 1.167 GB, free: 4.785 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches