Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001628/0.001628, allocations: 188.7 kB / 16.13 MB, free: 6.652 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5821, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1824/0.7646, allocations: 185.1 MB / 1.197 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.7786, allocations: 13.13 MB / 1.21 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.7797, allocations: 27.81 kB / 1.21 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.7808, allocations: 350 kB / 1.211 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.7834, allocations: 1.089 MB / 1.212 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.7849, allocations: 0.6276 MB / 1.212 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002519/0.7874, allocations: 2.78 MB / 1.215 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000877/0.7883, allocations: 0.727 MB / 1.216 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.7917, allocations: 1.658 MB / 1.217 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.7933, allocations: 0.6927 MB / 1.218 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.7935, allocations: 44 kB / 1.218 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.7954, allocations: 0.9781 MB / 1.219 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004368/0.7958, allocations: 359 kB / 1.219 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.7965, allocations: 461.6 kB / 1.22 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.7985, allocations: 1.495 MB / 1.221 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7985, allocations: 4 kB / 1.221 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7985, allocations: 0 / 1.221 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.662e-05/0.7985, allocations: 0 / 1.221 GB, free: 0.5039 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002108/0.8006, allocations: 1.229 MB / 1.222 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.8007, allocations: 20.02 kB / 1.222 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.8009, allocations: 122.5 kB / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.8021, allocations: 214.6 kB / 1.223 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.8031, allocations: 0.6364 MB / 1.223 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.8031, allocations: 61.94 kB / 1.223 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.8032, allocations: 83.92 kB / 1.224 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.8045, allocations: 0.9443 MB / 1.224 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.8045, allocations: 0 / 1.224 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.8046, allocations: 31.94 kB / 1.225 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.8046, allocations: 33.3 kB / 1.225 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.8056, allocations: 0.6216 MB / 1.225 GB, free: 12.33 MB / 0.9825 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.003857/0.8094, allocations: 4.582 MB / 1.23 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/0.8102, allocations: 0.5456 MB / 1.23 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.8105, allocations: 248.1 kB / 1.23 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.8107, allocations: 101.1 kB / 1.23 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.8107, allocations: 50.48 kB / 1.231 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.8107, allocations: 0 / 1.231 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002564/0.8133, allocations: 1.585 MB / 1.232 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.8134, allocations: 110.8 kB / 1.232 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.8141, allocations: 0.7196 MB / 1.233 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.8142, allocations: 33.7 kB / 1.233 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.8145, allocations: 419.8 kB / 1.233 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.8146, allocations: 157.7 kB / 1.233 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.8148, allocations: 122.2 kB / 1.234 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8149, allocations: 330 kB / 1.234 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.8152, allocations: 189.2 kB / 1.234 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.8156, allocations: 421.1 kB / 1.234 GB, free: 2.176 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.8178, allocations: 1.174 MB / 1.236 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8178, allocations: 4 kB / 1.236 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009418/0.8187, allocations: 0.6791 MB / 1.236 GB, free: 212 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.8188, allocations: 13.34 kB / 1.236 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.8188, allocations: 4 kB / 1.236 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.8188, allocations: 12.78 kB / 1.236 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.8192, allocations: 127.8 kB / 1.236 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.8193, allocations: 19.94 kB / 1.236 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.8199, allocations: 47.89 kB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.8199, allocations: 32 kB / 1.237 GB, free: 15.95 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003305/0.8203, allocations: 271.1 kB / 1.237 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.8204, allocations: 83 kB / 1.237 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.8206, allocations: 91.66 kB / 1.237 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.8206, allocations: 8 kB / 1.237 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.8206, allocations: 0 / 1.237 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006606/0.8213, allocations: 0.7027 MB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.8235, allocations: 1.638 MB / 1.239 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8235, allocations: 7.938 kB / 1.239 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.8239, allocations: 103.8 kB / 1.239 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.824, allocations: 8.5 kB / 1.239 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.824, allocations: 16 kB / 1.239 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.824, allocations: 7.938 kB / 1.239 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.824, allocations: 8 kB / 1.239 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.825, allocations: 0.8647 MB / 1.24 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.8253, allocations: 208 kB / 1.24 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.8254, allocations: 19.98 kB / 1.24 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.8259, allocations: 27.98 kB / 1.24 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.8259, allocations: 43.83 kB / 1.241 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.826, allocations: 16 kB / 1.241 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005593/0.8265, allocations: 0.5146 MB / 1.241 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8266, allocations: 0 / 1.241 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006606/0.8272, allocations: 200 kB / 1.241 GB, free: 10.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001552/0.8288, allocations: 1.506 MB / 1.243 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006986/0.8295, allocations: 472.4 kB / 1.243 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8295, allocations: 3.938 kB / 1.243 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.8298, allocations: 214.1 kB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.8317, allocations: 453.2 kB / 1.244 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008343/0.8401, allocations: 7.189 MB / 1.251 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4218/1.262, allocations: 1.024 MB / 1.252 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009609/1.263, allocations: 195.1 kB / 1.252 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/1.263, allocations: 299.9 kB / 1.252 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/1.263, allocations: 0.8438 kB / 1.252 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5327/1.796, allocations: 21.34 MB / 1.273 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.796, allocations: 285.7 kB / 1.273 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.988, allocations: 0 / 1.273 GB, free: 228.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches