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.001091/0.001091, allocations: 89.66 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.009137/0.009137, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.488/2.488, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003838, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7441, allocations: 142.4 MB / 0.955 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.205/0.9491, allocations: 182.4 MB / 1.133 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.9653, allocations: 12.89 MB / 1.146 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.9665, allocations: 27.81 kB / 1.146 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.9678, allocations: 338.1 kB / 1.146 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.9703, allocations: 0.8791 MB / 1.147 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.9723, allocations: 0.6189 MB / 1.148 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.9748, allocations: 2.101 MB / 1.15 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009604/0.9757, allocations: 0.54 MB / 1.15 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003798/0.9796, allocations: 1.576 MB / 1.152 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.9811, allocations: 0.4981 MB / 1.152 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.9812, allocations: 24 kB / 1.152 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.9831, allocations: 0.9664 MB / 1.153 GB, free: 3.758 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003746/0.9835, allocations: 251.3 kB / 1.153 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006547/0.9841, allocations: 371.7 kB / 1.154 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.986, allocations: 1.156 MB / 1.155 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.986, allocations: 4 kB / 1.155 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9861, allocations: 0 / 1.155 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.307e-05/0.9861, allocations: 4 kB / 1.155 GB, free: 1.973 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.001892/0.988, allocations: 0.9048 MB / 1.156 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.9881, allocations: 12.03 kB / 1.156 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.9892, allocations: 206.8 kB / 1.156 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/0.9901, allocations: 0.5208 MB / 1.156 GB, free: 248 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.9905, allocations: 117.2 kB / 1.157 GB, free: 128 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.185e-05/0.9906, allocations: 52 kB / 1.157 GB, free: 76 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.992, allocations: 0.7753 MB / 1.157 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.992, allocations: 7.875 kB / 1.157 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.9921, allocations: 27.94 kB / 1.157 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.9922, allocations: 24.98 kB / 1.157 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009988/0.9932, allocations: 480.6 kB / 1.158 GB, free: 14.68 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.004086/0.9973, allocations: 4.175 MB / 1.162 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.9974, allocations: 106.4 kB / 1.162 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.9975, allocations: 71.5 kB / 1.162 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.9977, allocations: 97.09 kB / 1.162 GB, free: 9.941 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.9977, allocations: 38.5 kB / 1.162 GB, free: 9.895 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.9978, allocations: 0 / 1.162 GB, free: 9.895 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0007191/0.9985, allocations: 240.6 kB / 1.163 GB, free: 9.652 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.9986, allocations: 136.7 kB / 1.163 GB, free: 9.488 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.9998, allocations: 0.8368 MB / 1.163 GB, free: 8.641 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.9998, allocations: 33.7 kB / 1.164 GB, free: 8.602 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/1, allocations: 395 kB / 1.164 GB, free: 8.211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/1, allocations: 47.44 kB / 1.164 GB, free: 8.164 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/1, allocations: 33.7 kB / 1.164 GB, free: 8.125 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.001, allocations: 321.9 kB / 1.164 GB, free: 7.805 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/1.001, allocations: 115.9 kB / 1.164 GB, free: 7.691 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/1.001, allocations: 345.9 kB / 1.165 GB, free: 7.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/1.002, allocations: 423.3 kB / 1.165 GB, free: 6.734 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.002, allocations: 4 kB / 1.165 GB, free: 6.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001093/1.003, allocations: 0.4927 MB / 1.166 GB, free: 6.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.003, allocations: 8 kB / 1.166 GB, free: 6.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.003, allocations: 8 kB / 1.166 GB, free: 6.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/1.003, allocations: 8 kB / 1.166 GB, free: 6.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/1.004, allocations: 92.17 kB / 1.166 GB, free: 6.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/1.004, allocations: 15.98 kB / 1.166 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/1.004, allocations: 135 kB / 1.166 GB, free: 5.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/1.004, allocations: 20 kB / 1.166 GB, free: 5.949 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.0003126/1.005, allocations: 225.6 kB / 1.166 GB, free: 5.719 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.005, allocations: 79.14 kB / 1.166 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/1.005, allocations: 70.05 kB / 1.166 GB, free: 5.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.005, allocations: 4 kB / 1.166 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/1.005, allocations: 0 / 1.166 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/1.005, allocations: 7.922 kB / 1.166 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/1.006, allocations: 1.132 MB / 1.167 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.006, allocations: 0 / 1.167 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/1.007, allocations: 16 kB / 1.167 GB, free: 4.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.007, allocations: 4.312 kB / 1.167 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.007, allocations: 4.125 kB / 1.167 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.46e-05/1.007, allocations: 15.92 kB / 1.167 GB, free: 4.297 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.007, allocations: 4 kB / 1.167 GB, free: 4.293 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/1.007, allocations: 259.8 kB / 1.168 GB, free: 3.992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/1.007, allocations: 168.2 kB / 1.168 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/1.007, allocations: 7.984 kB / 1.168 GB, free: 3.801 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/1.008, allocations: 27.98 kB / 1.168 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/1.008, allocations: 15.95 kB / 1.168 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.008, allocations: 11.94 kB / 1.168 GB, free: 3.746 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008229/1.008, allocations: 0.5888 MB / 1.168 GB, free: 3.16 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/1.008, allocations: 0 / 1.168 GB, free: 3.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005793/1.009, allocations: 155.8 kB / 1.169 GB, free: 3.008 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.0004562/1.01, allocations: 200.7 kB / 1.169 GB, free: 2.824 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000561/1.01, allocations: 233 kB / 1.169 GB, free: 2.598 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.01, allocations: 0 / 1.169 GB, free: 2.598 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/1.01, allocations: 56.42 kB / 1.169 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.012, allocations: 357.5 kB / 1.169 GB, free: 2.195 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/1.014, allocations: 1.285 MB / 1.171 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/1.014, allocations: 0.9373 MB / 1.172 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004913/1.015, allocations: 142.2 kB / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.765e-05/1.015, allocations: 51.42 kB / 1.172 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/1.015, allocations: 0 / 1.172 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.02244/1.037, allocations: 11.43 MB / 1.183 GB, free: 4.48 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