Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001664/0.001664, 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.001846/0.001847, allocations: 193.8 kB / 16.14 MB, free: 6.648 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.605/2.605, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 75.88 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5845, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1682/0.7527, allocations: 184.9 MB / 1.197 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.7661, allocations: 13.07 MB / 1.21 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.767, allocations: 27.81 kB / 1.21 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.7681, allocations: 342 kB / 1.21 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.7699, allocations: 0.8713 MB / 1.211 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.7713, allocations: 0.6093 MB / 1.212 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.773, allocations: 2.105 MB / 1.214 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00064/0.7736, allocations: 0.5613 MB / 1.214 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.7765, allocations: 1.599 MB / 1.216 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.7776, allocations: 0.5236 MB / 1.217 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.7776, allocations: 43.94 kB / 1.217 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.779, allocations: 0.9665 MB / 1.217 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.7792, allocations: 255.3 kB / 1.218 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.7795, allocations: 374 kB / 1.218 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.7806, allocations: 1.176 MB / 1.219 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7806, allocations: 0 / 1.219 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.72e-07/0.7807, allocations: 0 / 1.219 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7807, allocations: 0 / 1.219 GB, free: 2.621 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001288/0.782, allocations: 1.059 MB / 1.22 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.782, allocations: 8.031 kB / 1.22 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.564e-05/0.7821, allocations: 98.52 kB / 1.22 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008737/0.783, allocations: 198.8 kB / 1.221 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.7836, allocations: 0.5169 MB / 1.221 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003256/0.784, allocations: 109.2 kB / 1.221 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.784, allocations: 56 kB / 1.221 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.7851, allocations: 0.7636 MB / 1.222 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.7851, allocations: 11.86 kB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.7852, allocations: 24 kB / 1.222 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.7852, allocations: 21 kB / 1.222 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.7861, allocations: 475.3 kB / 1.222 GB, free: 15.1 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.003144/0.7892, allocations: 4.159 MB / 1.227 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.7894, allocations: 102.4 kB / 1.227 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.7895, allocations: 71.53 kB / 1.227 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.7896, allocations: 101.1 kB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.7897, allocations: 34.56 kB / 1.227 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.7897, allocations: 0 / 1.227 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005786/0.7903, allocations: 245.2 kB / 1.227 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.7903, allocations: 132.5 kB / 1.227 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/0.7913, allocations: 0.8407 MB / 1.228 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.7913, allocations: 29.7 kB / 1.228 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.7916, allocations: 398.9 kB / 1.228 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.7916, allocations: 35.55 kB / 1.228 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.7917, allocations: 89.5 kB / 1.229 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.7918, allocations: 318 kB / 1.229 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.7921, allocations: 111.9 kB / 1.229 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.7925, allocations: 349.8 kB / 1.229 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.793, allocations: 418.9 kB / 1.23 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.7931, allocations: 4 kB / 1.23 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008244/0.7939, allocations: 484.8 kB / 1.23 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.7939, allocations: 8 kB / 1.23 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7939, allocations: 12.06 kB / 1.23 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.794, allocations: 12 kB / 1.23 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.7942, allocations: 87.83 kB / 1.23 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.7943, allocations: 15.92 kB / 1.23 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.7949, allocations: 135 kB / 1.23 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.7949, allocations: 16 kB / 1.23 GB, free: 6.387 MB / 0.9825 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.0002291/0.7952, allocations: 229.6 kB / 1.231 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.7953, allocations: 75.14 kB / 1.231 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.623e-05/0.7954, allocations: 66.11 kB / 1.231 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7954, allocations: 3.938 kB / 1.231 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.7954, allocations: 3.984 kB / 1.231 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7955, allocations: 8.062 kB / 1.231 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.7966, allocations: 1.132 MB / 1.232 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7966, allocations: 4 kB / 1.232 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.7967, allocations: 12 kB / 1.232 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.7967, allocations: 4 kB / 1.232 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.7967, allocations: 7.938 kB / 1.232 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.7968, allocations: 7.984 kB / 1.232 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7968, allocations: 0 / 1.232 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.797, allocations: 267.9 kB / 1.232 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.7972, allocations: 164.2 kB / 1.232 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.7973, allocations: 11.98 kB / 1.232 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.7976, allocations: 19.98 kB / 1.232 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.7977, allocations: 15.86 kB / 1.232 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.7977, allocations: 8 kB / 1.232 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007342/0.7984, allocations: 0.5849 MB / 1.233 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7984, allocations: 0 / 1.233 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004922/0.7989, allocations: 155.8 kB / 1.233 GB, free: 3.461 MB / 0.9825 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.0007949/0.7997, allocations: 0.8849 MB / 1.234 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.8002, allocations: 237 kB / 1.234 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8002, allocations: 4 kB / 1.234 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.165e-05/0.8003, allocations: 43.91 kB / 1.234 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.8018, allocations: 367.4 kB / 1.235 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/0.8087, allocations: 5.803 MB / 1.24 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.8091, allocations: 0.937 MB / 1.241 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004681/0.8096, allocations: 138.1 kB / 1.241 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.8099, allocations: 223.4 kB / 1.242 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.8099, allocations: 4 kB / 1.242 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9513/1.761, allocations: 17.17 MB / 1.258 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/1.761, allocations: 275.5 kB / 1.259 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/3.832, allocations: 4.484 kB / 1.259 GB, free: 234.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches