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.001609/0.001608, 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.00199/0.00199, allocations: 197.9 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.419/2.419, allocations: 390.2 MB / 0.6642 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8457/0.847, allocations: 140.4 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.234/1.081, allocations: 184.9 MB / 1.129 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01709/1.098, allocations: 13.08 MB / 1.142 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/1.1, allocations: 27.81 kB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/1.101, allocations: 338.1 kB / 1.143 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002959/1.104, allocations: 0.8791 MB / 1.143 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/1.107, allocations: 0.6167 MB / 1.144 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003017/1.11, allocations: 2.098 MB / 1.146 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009391/1.111, allocations: 0.5611 MB / 1.147 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004547/1.115, allocations: 1.592 MB / 1.148 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/1.117, allocations: 0.5294 MB / 1.149 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/1.117, allocations: 36 kB / 1.149 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/1.119, allocations: 0.9664 MB / 1.15 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/1.119, allocations: 263.2 kB / 1.15 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004297/1.12, allocations: 370 kB / 1.15 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/1.121, allocations: 1.18 MB / 1.151 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/1.121, allocations: 0 / 1.151 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/1.121, allocations: 0 / 1.151 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.121, allocations: 4 kB / 1.151 GB, free: 2.043 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.00178/1.123, allocations: 1.048 MB / 1.152 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.123, allocations: 8.031 kB / 1.152 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/1.124, allocations: 194.8 kB / 1.153 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008134/1.125, allocations: 0.5208 MB / 1.153 GB, free: 188 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/1.125, allocations: 101.2 kB / 1.153 GB, free: 84 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/1.125, allocations: 56 kB / 1.153 GB, free: 28 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.127, allocations: 0.7636 MB / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/1.127, allocations: 3.938 kB / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/1.127, allocations: 31.94 kB / 1.154 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/1.127, allocations: 21 kB / 1.154 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/1.128, allocations: 471.2 kB / 1.155 GB, free: 14.65 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.003807/1.131, allocations: 4.178 MB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/1.132, allocations: 98.36 kB / 1.159 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/1.132, allocations: 79.58 kB / 1.159 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/1.132, allocations: 93.05 kB / 1.159 GB, free: 9.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.132, allocations: 42.55 kB / 1.159 GB, free: 9.867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/1.132, allocations: 0 / 1.159 GB, free: 9.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006876/1.133, allocations: 241 kB / 1.159 GB, free: 9.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/1.133, allocations: 132.5 kB / 1.159 GB, free: 9.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/1.134, allocations: 0.8371 MB / 1.16 GB, free: 8.617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.134, allocations: 25.7 kB / 1.16 GB, free: 8.586 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/1.134, allocations: 398.9 kB / 1.161 GB, free: 8.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/1.134, allocations: 43.45 kB / 1.161 GB, free: 8.148 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/1.134, allocations: 85.53 kB / 1.161 GB, free: 8.059 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.134, allocations: 325.9 kB / 1.161 GB, free: 7.734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/1.135, allocations: 107.9 kB / 1.161 GB, free: 7.629 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/1.135, allocations: 349.9 kB / 1.161 GB, free: 7.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/1.136, allocations: 411 kB / 1.162 GB, free: 6.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.136, allocations: 3.938 kB / 1.162 GB, free: 6.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008865/1.137, allocations: 496.6 kB / 1.162 GB, free: 6.184 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.137, allocations: 8 kB / 1.162 GB, free: 6.176 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.137, allocations: 8 kB / 1.162 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.137, allocations: 8 kB / 1.162 GB, free: 6.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/1.137, allocations: 95.83 kB / 1.162 GB, free: 6.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/1.137, allocations: 11.98 kB / 1.162 GB, free: 6.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/1.138, allocations: 127.2 kB / 1.163 GB, free: 5.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/1.138, allocations: 24 kB / 1.163 GB, free: 5.906 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.0002622/1.138, allocations: 225.7 kB / 1.163 GB, free: 5.676 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/1.138, allocations: 75.06 kB / 1.163 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.804e-05/1.138, allocations: 70.09 kB / 1.163 GB, free: 5.531 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.138, allocations: 4 kB / 1.163 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.138, allocations: 0 / 1.163 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.138, allocations: 11.94 kB / 1.163 GB, free: 5.516 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/1.14, allocations: 1.128 MB / 1.164 GB, free: 4.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.14, allocations: 0 / 1.164 GB, free: 4.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/1.14, allocations: 19.98 kB / 1.164 GB, free: 4.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.14, allocations: 4 kB / 1.164 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.14, allocations: 4 kB / 1.164 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.14, allocations: 3.938 kB / 1.164 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.14, allocations: 4 kB / 1.164 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/1.14, allocations: 260.2 kB / 1.164 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/1.14, allocations: 176.1 kB / 1.164 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/1.14, allocations: 4.062 kB / 1.164 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/1.141, allocations: 19.98 kB / 1.164 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/1.141, allocations: 27.86 kB / 1.165 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/1.141, allocations: 4 kB / 1.165 GB, free: 3.715 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007852/1.142, allocations: 0.5888 MB / 1.165 GB, free: 3.129 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.142, allocations: 0 / 1.165 GB, free: 3.129 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005545/1.142, allocations: 151.9 kB / 1.165 GB, free: 2.98 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.0005214/1.143, allocations: 202.1 kB / 1.165 GB, free: 2.793 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005314/1.143, allocations: 229.2 kB / 1.166 GB, free: 2.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.143, allocations: 8.062 kB / 1.166 GB, free: 2.562 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/1.143, allocations: 43.86 kB / 1.166 GB, free: 2.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.145, allocations: 358.8 kB / 1.166 GB, free: 2.172 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/1.147, allocations: 1.247 MB / 1.167 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/1.148, allocations: 0.9372 MB / 1.168 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004611/1.148, allocations: 150.2 kB / 1.168 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/1.148, allocations: 43.44 kB / 1.168 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/1.148, allocations: 0 / 1.168 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.02094/1.169, allocations: 11.28 MB / 1.179 GB, free: 4.633 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