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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001701/0.001701, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002286/0.002286, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 75.88 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8538, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2156/1.07, allocations: 184.7 MB / 1.129 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01913/1.089, allocations: 12.93 MB / 1.142 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/1.091, allocations: 23.88 kB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/1.094, allocations: 358 kB / 1.142 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/1.098, allocations: 0.8636 MB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/1.101, allocations: 0.6238 MB / 1.144 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002725/1.104, allocations: 1.504 MB / 1.145 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/1.105, allocations: 0.6234 MB / 1.146 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005407/1.11, allocations: 1.678 MB / 1.148 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/1.113, allocations: 0.5399 MB / 1.148 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002371/1.113, allocations: 52 kB / 1.148 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/1.115, allocations: 0.908 MB / 1.149 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/1.116, allocations: 279.2 kB / 1.149 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000921/1.117, allocations: 398 kB / 1.15 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/1.119, allocations: 1.192 MB / 1.151 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.119, allocations: 3.938 kB / 1.151 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.895e-06/1.119, allocations: 0 / 1.151 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.83e-05/1.119, allocations: 0 / 1.151 GB, free: 2.77 MB / 0.9044 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.002366/1.122, allocations: 1.048 MB / 1.152 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.122, allocations: 8.031 kB / 1.152 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/1.123, allocations: 190.8 kB / 1.152 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/1.124, allocations: 0.5246 MB / 1.153 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/1.124, allocations: 113.2 kB / 1.153 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/1.124, allocations: 56 kB / 1.153 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/1.126, allocations: 0.7597 MB / 1.153 GB, free: 15.89 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.126, allocations: 3.938 kB / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/1.126, allocations: 31.94 kB / 1.154 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/1.126, allocations: 25 kB / 1.154 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/1.127, allocations: 471.2 kB / 1.154 GB, free: 15.37 MB / 0.92 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.005094/1.132, allocations: 4.171 MB / 1.158 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/1.132, allocations: 106.4 kB / 1.158 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/1.132, allocations: 67.59 kB / 1.158 GB, free: 10.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/1.133, allocations: 93.09 kB / 1.158 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/1.133, allocations: 50.48 kB / 1.158 GB, free: 10.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.785e-06/1.133, allocations: 0 / 1.158 GB, free: 10.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0008581/1.133, allocations: 232.7 kB / 1.159 GB, free: 10.35 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/1.134, allocations: 136.5 kB / 1.159 GB, free: 10.19 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.135, allocations: 0.837 MB / 1.16 GB, free: 9.336 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/1.135, allocations: 25.7 kB / 1.16 GB, free: 9.305 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/1.135, allocations: 398.9 kB / 1.16 GB, free: 8.91 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/1.135, allocations: 43.45 kB / 1.16 GB, free: 8.867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.135, allocations: 85.59 kB / 1.16 GB, free: 8.777 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.136, allocations: 325.9 kB / 1.16 GB, free: 8.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/1.136, allocations: 103.9 kB / 1.16 GB, free: 8.352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/1.136, allocations: 349.8 kB / 1.161 GB, free: 7.902 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/1.137, allocations: 407 kB / 1.161 GB, free: 7.406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.137, allocations: 4 kB / 1.161 GB, free: 7.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001179/1.138, allocations: 488.7 kB / 1.162 GB, free: 6.918 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.138, allocations: 11.94 kB / 1.162 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.138, allocations: 8 kB / 1.162 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.138, allocations: 15.98 kB / 1.162 GB, free: 6.883 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/1.139, allocations: 92.45 kB / 1.162 GB, free: 6.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.139, allocations: 19.86 kB / 1.162 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/1.139, allocations: 124.5 kB / 1.162 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/1.14, allocations: 20 kB / 1.162 GB, free: 6.633 MB / 0.92 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.0003465/1.14, allocations: 229.6 kB / 1.162 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.14, allocations: 79.06 kB / 1.162 GB, free: 6.32 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/1.14, allocations: 70.09 kB / 1.162 GB, free: 6.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.14, allocations: 4 kB / 1.162 GB, free: 6.246 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.14, allocations: 0 / 1.162 GB, free: 6.246 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.14, allocations: 7.938 kB / 1.162 GB, free: 6.238 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/1.142, allocations: 1.124 MB / 1.163 GB, free: 5.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.142, allocations: 4 kB / 1.163 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/1.142, allocations: 23.92 kB / 1.163 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.142, allocations: 4 kB / 1.163 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.142, allocations: 8.312 kB / 1.163 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.142, allocations: 0 / 1.163 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.142, allocations: 7.938 kB / 1.163 GB, free: 4.977 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/1.142, allocations: 255.9 kB / 1.164 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/1.143, allocations: 176.1 kB / 1.164 GB, free: 4.488 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.143, allocations: 4 kB / 1.164 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/1.143, allocations: 23.98 kB / 1.164 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/1.143, allocations: 16.02 kB / 1.164 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/1.143, allocations: 7.938 kB / 1.164 GB, free: 4.438 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008901/1.144, allocations: 0.5888 MB / 1.165 GB, free: 3.855 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/1.144, allocations: 3.938 kB / 1.165 GB, free: 3.852 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006288/1.145, allocations: 151.8 kB / 1.165 GB, free: 3.703 MB / 0.92 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.0005412/1.145, allocations: 193 kB / 1.165 GB, free: 3.523 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005745/1.146, allocations: 237 kB / 1.165 GB, free: 3.293 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.146, allocations: 0 / 1.165 GB, free: 3.293 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/1.146, allocations: 55.84 kB / 1.165 GB, free: 3.238 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.148, allocations: 374.8 kB / 1.165 GB, free: 2.875 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/1.15, allocations: 1.253 MB / 1.167 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/1.15, allocations: 0.9407 MB / 1.168 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000603/1.151, allocations: 142 kB / 1.168 GB, free: 464 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.151, allocations: 55.42 kB / 1.168 GB, free: 408 kB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/1.151, allocations: 0 / 1.168 GB, free: 408 kB / 0.92 GB Notification: Performance of Templates: time 0.02274/1.174, allocations: 11.63 MB / 1.179 GB, free: 4.988 MB / 0.9356 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