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: "" <> 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.0008721/0.000872, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005794/0.005794, allocations: 170 kB / 16.27 MB, free: 6.66 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.21/2.21, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5972/0.5975, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1869/0.7845, allocations: 182.4 MB / 1.133 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.7999, allocations: 12.9 MB / 1.146 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.8012, allocations: 27.81 kB / 1.146 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.8024, allocations: 334.1 kB / 1.146 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.8049, allocations: 0.8713 MB / 1.147 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.8067, allocations: 0.6199 MB / 1.148 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.8091, allocations: 2.101 MB / 1.15 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009119/0.81, allocations: 0.5322 MB / 1.15 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.8136, allocations: 1.572 MB / 1.152 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.815, allocations: 0.5105 MB / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.8151, allocations: 24 kB / 1.152 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.8168, allocations: 0.9664 MB / 1.153 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.8171, allocations: 247.3 kB / 1.154 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.8176, allocations: 379.7 kB / 1.154 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.8191, allocations: 1.149 MB / 1.155 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.8192, allocations: 7.938 kB / 1.155 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8192, allocations: 0 / 1.155 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.47e-05/0.8192, allocations: 0 / 1.155 GB, free: 1.949 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.00152/0.8207, allocations: 0.9153 MB / 1.156 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.8208, allocations: 12.03 kB / 1.156 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.8209, allocations: 98.52 kB / 1.156 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.8219, allocations: 206.8 kB / 1.156 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.8227, allocations: 0.5208 MB / 1.157 GB, free: 104 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.8231, allocations: 113.2 kB / 1.157 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.8231, allocations: 63.94 kB / 1.157 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.8243, allocations: 0.7675 MB / 1.158 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.8243, allocations: 7.875 kB / 1.158 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.8243, allocations: 24 kB / 1.158 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.8244, allocations: 24.98 kB / 1.158 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.8253, allocations: 484.6 kB / 1.158 GB, free: 14.54 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.003456/0.8288, allocations: 4.171 MB / 1.162 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.8289, allocations: 114.4 kB / 1.162 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.829, allocations: 67.5 kB / 1.162 GB, free: 9.914 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.8292, allocations: 101 kB / 1.163 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.8292, allocations: 38.56 kB / 1.163 GB, free: 9.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.8292, allocations: 0 / 1.163 GB, free: 9.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006197/0.8299, allocations: 240.6 kB / 1.163 GB, free: 9.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.8299, allocations: 132.5 kB / 1.163 GB, free: 9.348 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.831, allocations: 0.8448 MB / 1.164 GB, free: 8.492 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.8311, allocations: 29.7 kB / 1.164 GB, free: 8.457 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.8313, allocations: 398.9 kB / 1.164 GB, free: 8.062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.8314, allocations: 39.55 kB / 1.164 GB, free: 8.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.8314, allocations: 37.7 kB / 1.164 GB, free: 7.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.8316, allocations: 322 kB / 1.165 GB, free: 7.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.8319, allocations: 111.9 kB / 1.165 GB, free: 7.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.8323, allocations: 349.8 kB / 1.165 GB, free: 7.102 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.8329, allocations: 415 kB / 1.165 GB, free: 6.598 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8329, allocations: 4 kB / 1.165 GB, free: 6.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009113/0.8338, allocations: 0.4932 MB / 1.166 GB, free: 6.094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8338, allocations: 8 kB / 1.166 GB, free: 6.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.8338, allocations: 11.98 kB / 1.166 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.8339, allocations: 8 kB / 1.166 GB, free: 6.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.8342, allocations: 91.83 kB / 1.166 GB, free: 5.977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.8342, allocations: 16.11 kB / 1.166 GB, free: 5.961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/0.8349, allocations: 141 kB / 1.166 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.835, allocations: 20.12 kB / 1.166 GB, free: 5.805 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.0002492/0.8353, allocations: 233.6 kB / 1.166 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.8354, allocations: 79.09 kB / 1.166 GB, free: 5.488 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.8355, allocations: 70.09 kB / 1.166 GB, free: 5.418 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.8355, allocations: 4 kB / 1.166 GB, free: 5.414 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8355, allocations: 0 / 1.166 GB, free: 5.414 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.8356, allocations: 11.88 kB / 1.166 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.8368, allocations: 1.124 MB / 1.168 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8369, allocations: 0 / 1.168 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.8369, allocations: 19.98 kB / 1.168 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.837, allocations: 4 kB / 1.168 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.837, allocations: 4.312 kB / 1.168 GB, free: 4.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.837, allocations: 7.938 kB / 1.168 GB, free: 4.152 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.837, allocations: 4 kB / 1.168 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.8373, allocations: 263.8 kB / 1.168 GB, free: 3.844 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.8375, allocations: 168.2 kB / 1.168 GB, free: 3.66 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.8376, allocations: 4 kB / 1.168 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.8379, allocations: 27.98 kB / 1.168 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.838, allocations: 19.86 kB / 1.168 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.838, allocations: 4 kB / 1.168 GB, free: 3.605 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008195/0.8388, allocations: 0.5927 MB / 1.169 GB, free: 3.016 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8388, allocations: 0 / 1.169 GB, free: 3.016 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005511/0.8394, allocations: 147.8 kB / 1.169 GB, free: 2.871 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.0008946/0.8403, allocations: 0.8926 MB / 1.17 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.8408, allocations: 233.2 kB / 1.17 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8408, allocations: 8.125 kB / 1.17 GB, free: 1.703 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.8409, allocations: 47.91 kB / 1.17 GB, free: 1.656 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.8429, allocations: 369.4 kB / 1.17 GB, free: 1.301 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007898/0.8508, allocations: 5.846 MB / 1.176 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.8514, allocations: 0.9331 MB / 1.177 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005828/0.852, allocations: 142.1 kB / 1.177 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.8523, allocations: 231.4 kB / 1.177 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of SimCode: time 9.52e-07/0.8523, allocations: 0 / 1.177 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.68/2.533, allocations: 17.3 MB / 1.194 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/2.533, allocations: 284.8 kB / 1.194 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/4.85, allocations: 0 / 1.194 GB, free: 8.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.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