Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001064/0.001068, 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.001074/0.001074, allocations: 194.8 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.328/2.328, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 59.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5885/0.5899, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1884/0.7783, allocations: 190.3 MB / 1.136 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008805/0.7872, allocations: 5.686 MB / 1.141 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.7886, allocations: 43.75 kB / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.7901, allocations: 0.563 MB / 1.142 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.7945, allocations: 1.614 MB / 1.143 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.7977, allocations: 1.201 MB / 1.144 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003296/0.801, allocations: 2.497 MB / 1.147 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.8025, allocations: 0.9965 MB / 1.148 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.8044, allocations: 1.02 MB / 1.149 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.8061, allocations: 0.8108 MB / 1.15 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.8064, allocations: 100 kB / 1.15 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.8092, allocations: 1.528 MB / 1.151 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.8098, allocations: 494.7 kB / 1.152 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000932/0.8107, allocations: 0.6222 MB / 1.152 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.8136, allocations: 2.096 MB / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.8136, allocations: 0 / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.123e-06/0.8136, allocations: 0 / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.534e-05/0.8136, allocations: 0 / 1.154 GB, free: 15.48 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002454/0.8161, allocations: 1.474 MB / 1.156 GB, free: 13.96 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8161, allocations: 12.03 kB / 1.156 GB, free: 13.95 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.8163, allocations: 135.2 kB / 1.156 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.8183, allocations: 330.3 kB / 1.156 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.8196, allocations: 0.7765 MB / 1.157 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.82, allocations: 117.9 kB / 1.157 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.8201, allocations: 91.92 kB / 1.157 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.8219, allocations: 1.086 MB / 1.158 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8219, allocations: 0 / 1.158 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.304e-05/0.822, allocations: 43.94 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.822, allocations: 30 kB / 1.158 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.8237, allocations: 0.8353 MB / 1.159 GB, free: 10.42 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.005589/0.8293, allocations: 4.316 MB / 1.163 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.8299, allocations: 370 kB / 1.164 GB, free: 5.465 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.8302, allocations: 212.8 kB / 1.164 GB, free: 5.254 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.8304, allocations: 101 kB / 1.164 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.8304, allocations: 42.56 kB / 1.164 GB, free: 5.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 1.644e-06/0.8304, allocations: 0 / 1.164 GB, free: 5.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002475/0.8329, allocations: 1.332 MB / 1.165 GB, free: 3.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.8329, allocations: 55.41 kB / 1.165 GB, free: 3.633 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.8343, allocations: 1.012 MB / 1.166 GB, free: 2.598 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.8344, allocations: 37.7 kB / 1.166 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.8348, allocations: 0.4913 MB / 1.167 GB, free: 2.059 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.8349, allocations: 138.1 kB / 1.167 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.8351, allocations: 122.2 kB / 1.167 GB, free: 1.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8352, allocations: 326 kB / 1.168 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.8357, allocations: 241.2 kB / 1.168 GB, free: 1.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.8364, allocations: 427.8 kB / 1.168 GB, free: 0.7422 MB / 0.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.8389, allocations: 1.221 MB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8389, allocations: 0 / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001467/0.8404, allocations: 0.7923 MB / 1.17 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8404, allocations: 12.28 kB / 1.17 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.8404, allocations: 12 kB / 1.17 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.8405, allocations: 8 kB / 1.17 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.8411, allocations: 143.8 kB / 1.17 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.8411, allocations: 11.94 kB / 1.17 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009393/0.842, allocations: 55.95 kB / 1.17 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.8421, allocations: 35.98 kB / 1.17 GB, free: 14.35 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0003977/0.8425, allocations: 309.5 kB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.8427, allocations: 110.8 kB / 1.171 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.8429, allocations: 97.03 kB / 1.171 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8429, allocations: 4 kB / 1.171 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8429, allocations: 0 / 1.171 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006553/0.8436, allocations: 0.6791 MB / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.8459, allocations: 1.585 MB / 1.173 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.8459, allocations: 4 kB / 1.173 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.8463, allocations: 79.84 kB / 1.173 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.8463, allocations: 4 kB / 1.173 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.8464, allocations: 23.92 kB / 1.173 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.8464, allocations: 8.5 kB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.8464, allocations: 15.88 kB / 1.173 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.8474, allocations: 0.8266 MB / 1.174 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.8478, allocations: 243.8 kB / 1.174 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.8479, allocations: 15.98 kB / 1.174 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/0.8486, allocations: 45.33 kB / 1.174 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.8487, allocations: 35.84 kB / 1.174 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.8488, allocations: 27.98 kB / 1.174 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000997/0.8498, allocations: 0.7116 MB / 1.175 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8498, allocations: 0 / 1.175 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000789/0.8506, allocations: 256 kB / 1.175 GB, free: 8.996 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001581/0.8521, allocations: 1.478 MB / 1.177 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009661/0.8531, allocations: 0.5273 MB / 1.177 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8531, allocations: 4 kB / 1.177 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.8534, allocations: 193.8 kB / 1.177 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/0.8561, allocations: 0.6125 MB / 1.178 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.8664, allocations: 8.029 MB / 1.186 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.8671, allocations: 1.099 MB / 1.187 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000872/0.868, allocations: 244.3 kB / 1.187 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.8684, allocations: 347.3 kB / 1.188 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.8684, allocations: 0 / 1.188 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05191/0.9203, allocations: 27.62 MB / 1.215 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.558/10.48, allocations: 9.891 kB / 1.215 GB, free: 0.75 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches