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.0014/0.0014, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 200 kB / 16.79 MB, free: 6.828 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.484/1.484, allocations: 222.9 MB / 240.5 MB, free: 4.535 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.473/2.473, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 63.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6895/0.6917, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.208/0.8997, allocations: 184.9 MB / 1.13 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.9182, allocations: 13.08 MB / 1.143 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.9197, allocations: 27.81 kB / 1.143 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.9214, allocations: 334.1 kB / 1.143 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.9243, allocations: 0.8792 MB / 1.144 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.9264, allocations: 0.6156 MB / 1.145 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002792/0.9292, allocations: 2.101 MB / 1.147 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.9303, allocations: 0.5572 MB / 1.147 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004452/0.9348, allocations: 1.599 MB / 1.149 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.9366, allocations: 0.5329 MB / 1.149 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.9368, allocations: 36 kB / 1.149 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.939, allocations: 0.9626 MB / 1.15 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.9394, allocations: 263.2 kB / 1.151 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007086/0.9401, allocations: 374 kB / 1.151 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.9414, allocations: 0.8577 MB / 1.152 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9415, allocations: 4 kB / 1.152 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9415, allocations: 0 / 1.152 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.645e-05/0.9415, allocations: 0 / 1.152 GB, free: 2.371 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.001894/0.9434, allocations: 1.044 MB / 1.153 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.9435, allocations: 16.02 kB / 1.153 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.9445, allocations: 190.8 kB / 1.153 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.9454, allocations: 0.5208 MB / 1.154 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.9457, allocations: 101.2 kB / 1.154 GB, free: 420 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/0.9458, allocations: 60 kB / 1.154 GB, free: 360 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.9471, allocations: 0.7636 MB / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.9471, allocations: 11.88 kB / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.9472, allocations: 31.88 kB / 1.154 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.9472, allocations: 21 kB / 1.154 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.9482, allocations: 471.2 kB / 1.155 GB, free: 14.96 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.004139/0.9524, allocations: 4.175 MB / 1.159 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.9525, allocations: 102.4 kB / 1.159 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.9527, allocations: 75.59 kB / 1.159 GB, free: 10.35 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.9528, allocations: 93.09 kB / 1.159 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9529, allocations: 38.5 kB / 1.159 GB, free: 10.19 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.003e-06/0.9529, allocations: 0 / 1.159 GB, free: 10.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0007287/0.9536, allocations: 244.7 kB / 1.16 GB, free: 9.945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.9537, allocations: 132.5 kB / 1.16 GB, free: 9.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.9549, allocations: 0.8332 MB / 1.16 GB, free: 8.941 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.9549, allocations: 33.7 kB / 1.161 GB, free: 8.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.9552, allocations: 391 kB / 1.161 GB, free: 8.516 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.9553, allocations: 47.44 kB / 1.161 GB, free: 8.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.9554, allocations: 81.59 kB / 1.161 GB, free: 8.383 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9555, allocations: 325.9 kB / 1.161 GB, free: 8.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.9558, allocations: 107.9 kB / 1.161 GB, free: 7.953 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.9563, allocations: 349.8 kB / 1.162 GB, free: 7.504 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.9568, allocations: 411 kB / 1.162 GB, free: 7.004 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9569, allocations: 0 / 1.162 GB, free: 7.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009613/0.9578, allocations: 496.4 kB / 1.163 GB, free: 6.512 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.9579, allocations: 8 kB / 1.163 GB, free: 6.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.9579, allocations: 8 kB / 1.163 GB, free: 6.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.9579, allocations: 8 kB / 1.163 GB, free: 6.488 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.9582, allocations: 84.27 kB / 1.163 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.9582, allocations: 23.92 kB / 1.163 GB, free: 6.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.959, allocations: 123.1 kB / 1.163 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.959, allocations: 24 kB / 1.163 GB, free: 6.238 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.0002824/0.9593, allocations: 221.6 kB / 1.163 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.9595, allocations: 79.05 kB / 1.163 GB, free: 5.934 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.9596, allocations: 66.11 kB / 1.163 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.9596, allocations: 11.94 kB / 1.163 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.9596, allocations: 3.984 kB / 1.163 GB, free: 5.852 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9597, allocations: 3.938 kB / 1.163 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.9611, allocations: 1.12 MB / 1.164 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9611, allocations: 11.94 kB / 1.164 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/0.9612, allocations: 16 kB / 1.164 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.9612, allocations: 4 kB / 1.164 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.9612, allocations: 7.984 kB / 1.164 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.9612, allocations: 8.25 kB / 1.164 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.9612, allocations: 11.94 kB / 1.164 GB, free: 4.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.9615, allocations: 255.9 kB / 1.165 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.9618, allocations: 168.1 kB / 1.165 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.9619, allocations: 11.98 kB / 1.165 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.9622, allocations: 20.45 kB / 1.165 GB, free: 4.066 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.9623, allocations: 11.92 kB / 1.165 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.9623, allocations: 15.94 kB / 1.165 GB, free: 4.039 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008806/0.9632, allocations: 0.581 MB / 1.165 GB, free: 3.461 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9632, allocations: 0 / 1.165 GB, free: 3.461 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006435/0.9638, allocations: 151.8 kB / 1.166 GB, free: 3.312 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.0004982/0.9643, allocations: 189.9 kB / 1.166 GB, free: 3.137 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.9649, allocations: 237.1 kB / 1.166 GB, free: 2.906 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9649, allocations: 3.938 kB / 1.166 GB, free: 2.902 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.965, allocations: 47.86 kB / 1.166 GB, free: 2.855 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.9667, allocations: 369.5 kB / 1.166 GB, free: 2.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.9686, allocations: 1.295 MB / 1.168 GB, free: 1.141 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.9691, allocations: 0.9372 MB / 1.169 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.9693, allocations: 51.44 kB / 1.169 GB, free: 128 kB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/0.9693, allocations: 4 kB / 1.169 GB, free: 124 kB / 0.92 GB Notification: Performance of Templates: time 0.01763/0.9869, allocations: 10.62 MB / 1.179 GB, free: 5.617 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches