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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_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.00148/0.00148, allocations: 108 kB / 15.61 MB, free: 152 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.001712/0.001712, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.351/2.351, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5622, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1848/0.7471, allocations: 187.1 MB / 1.132 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.7621, allocations: 13.02 MB / 1.145 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009372/0.7631, allocations: 27.88 kB / 1.145 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.7644, allocations: 417.3 kB / 1.146 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.7667, allocations: 0.9175 MB / 1.146 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.7686, allocations: 0.7096 MB / 1.147 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.7706, allocations: 1.497 MB / 1.149 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.7717, allocations: 0.6547 MB / 1.149 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003705/0.7754, allocations: 1.72 MB / 1.151 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.7768, allocations: 0.5015 MB / 1.151 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.777, allocations: 52 kB / 1.151 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.7791, allocations: 0.8653 MB / 1.152 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.7796, allocations: 283.2 kB / 1.153 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008502/0.7805, allocations: 382 kB / 1.153 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.7832, allocations: 1.157 MB / 1.154 GB, free: 15.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.7832, allocations: 0 / 1.154 GB, free: 15.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7832, allocations: 0 / 1.154 GB, free: 15.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.591e-05/0.7832, allocations: 0 / 1.154 GB, free: 15.84 MB / 0.92 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.00215/0.7854, allocations: 1.048 MB / 1.155 GB, free: 14.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.7855, allocations: 12.03 kB / 1.155 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.7856, allocations: 106.5 kB / 1.155 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7867, allocations: 198.7 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008134/0.7875, allocations: 0.5169 MB / 1.156 GB, free: 13.87 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/0.7879, allocations: 101.2 kB / 1.156 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/0.788, allocations: 60 kB / 1.156 GB, free: 13.71 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.7891, allocations: 0.775 MB / 1.157 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.7892, allocations: 11.88 kB / 1.157 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.7892, allocations: 24 kB / 1.157 GB, free: 12.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.7893, allocations: 25 kB / 1.157 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.7903, allocations: 475.1 kB / 1.157 GB, free: 12.3 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.003816/0.7941, allocations: 4.417 MB / 1.162 GB, free: 7.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.7943, allocations: 102.4 kB / 1.162 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.7944, allocations: 75.58 kB / 1.162 GB, free: 7.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.7946, allocations: 97.09 kB / 1.162 GB, free: 7.316 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.7946, allocations: 34.5 kB / 1.162 GB, free: 7.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.7946, allocations: 8 kB / 1.162 GB, free: 7.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0007027/0.7953, allocations: 236.6 kB / 1.162 GB, free: 7.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.7954, allocations: 128.5 kB / 1.162 GB, free: 6.871 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.7966, allocations: 0.8565 MB / 1.163 GB, free: 6 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.7967, allocations: 33.7 kB / 1.163 GB, free: 5.961 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.797, allocations: 391 kB / 1.164 GB, free: 5.574 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.797, allocations: 47.44 kB / 1.164 GB, free: 5.527 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.7972, allocations: 89.88 kB / 1.164 GB, free: 5.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7973, allocations: 326 kB / 1.164 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.7976, allocations: 112.7 kB / 1.164 GB, free: 5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.7981, allocations: 369.7 kB / 1.164 GB, free: 4.523 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.7987, allocations: 449.5 kB / 1.165 GB, free: 3.977 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.7987, allocations: 4 kB / 1.165 GB, free: 3.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001075/0.7998, allocations: 0.4935 MB / 1.165 GB, free: 3.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7999, allocations: 11.94 kB / 1.165 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.7999, allocations: 8.031 kB / 1.165 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.7999, allocations: 20.03 kB / 1.165 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.8003, allocations: 99.86 kB / 1.166 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.8003, allocations: 11.94 kB / 1.166 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/0.801, allocations: 130.9 kB / 1.166 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.8011, allocations: 20 kB / 1.166 GB, free: 3.176 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002483/0.8013, allocations: 233.6 kB / 1.166 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.8015, allocations: 75.06 kB / 1.166 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.741e-05/0.8016, allocations: 70.17 kB / 1.166 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.8016, allocations: 3.938 kB / 1.166 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8016, allocations: 0 / 1.166 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.8016, allocations: 11.92 kB / 1.166 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.8029, allocations: 1.116 MB / 1.167 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.8029, allocations: 4 kB / 1.167 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.573e-05/0.803, allocations: 16.44 kB / 1.167 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.803, allocations: 8 kB / 1.167 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.803, allocations: 4 kB / 1.167 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.8031, allocations: 7.938 kB / 1.167 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.8031, allocations: 7.984 kB / 1.167 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.8034, allocations: 259.8 kB / 1.167 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.8036, allocations: 172.1 kB / 1.168 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.8037, allocations: 4 kB / 1.168 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.804, allocations: 23.97 kB / 1.168 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.8041, allocations: 15.88 kB / 1.168 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.8041, allocations: 8 kB / 1.168 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008342/0.8049, allocations: 0.5927 MB / 1.168 GB, free: 408 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8049, allocations: 0 / 1.168 GB, free: 408 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005613/0.8055, allocations: 151.8 kB / 1.168 GB, free: 256 kB / 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.0008514/0.8064, allocations: 0.8961 MB / 1.169 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.8069, allocations: 248.9 kB / 1.169 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8069, allocations: 4.5 kB / 1.169 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.807, allocations: 51.86 kB / 1.17 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.8087, allocations: 377.3 kB / 1.17 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/0.8158, allocations: 5.72 MB / 1.175 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.8162, allocations: 0.9331 MB / 1.176 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005046/0.8167, allocations: 142.1 kB / 1.177 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.817, allocations: 231.4 kB / 1.177 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.817, allocations: 0 / 1.177 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.8554, allocations: 17.84 MB / 1.194 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.664, allocations: 9.422 kB / 1.194 GB, free: 5.766 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/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