Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_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.0007656/0.0007657, allocations: 98.03 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.005152/0.005153, allocations: 170.1 kB / 16.27 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.567/2.567, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 13.59 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2334, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1677/0.4011, allocations: 185.6 MB / 1.24 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008004/0.4092, allocations: 5.715 MB / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.4103, allocations: 35.75 kB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.4116, allocations: 0.4897 MB / 1.246 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.4151, allocations: 1.513 MB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.4177, allocations: 1.088 MB / 1.249 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4916/0.9093, allocations: 3.486 MB / 1.252 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.9108, allocations: 0.8171 MB / 1.253 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.9127, allocations: 0.8508 MB / 1.254 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.9148, allocations: 0.8144 MB / 1.254 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.915, allocations: 39.56 kB / 1.255 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.9178, allocations: 1.696 MB / 1.256 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006188/0.9184, allocations: 432.9 kB / 1.257 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.9195, allocations: 0.5679 MB / 1.257 GB, free: 20.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.9221, allocations: 2.105 MB / 1.259 GB, free: 20.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.9221, allocations: 4 kB / 1.259 GB, free: 20.33 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9221, allocations: 0 / 1.259 GB, free: 20.33 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.9221, allocations: 0 / 1.259 GB, free: 20.33 MB / 1.014 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.001632/0.9238, allocations: 1.246 MB / 1.26 GB, free: 19.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.9238, allocations: 9.312 kB / 1.26 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.924, allocations: 143.8 kB / 1.261 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.9257, allocations: 337.4 kB / 1.261 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/0.9267, allocations: 0.7766 MB / 1.262 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.927, allocations: 134.2 kB / 1.262 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.9271, allocations: 84.86 kB / 1.262 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.9287, allocations: 1.077 MB / 1.263 GB, free: 19.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.9287, allocations: 0 / 1.263 GB, free: 19.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.9288, allocations: 40.81 kB / 1.263 GB, free: 19.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.9288, allocations: 35 kB / 1.263 GB, free: 19.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.9303, allocations: 0.8507 MB / 1.264 GB, free: 19.01 MB / 1.014 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.005015/0.9353, allocations: 4.059 MB / 1.268 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.9359, allocations: 368.2 kB / 1.268 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.9362, allocations: 214.6 kB / 1.268 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.9364, allocations: 96.88 kB / 1.268 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.9364, allocations: 44.83 kB / 1.268 GB, free: 16.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 1.392e-06/0.9364, allocations: 1.25 kB / 1.268 GB, free: 16.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002148/0.9386, allocations: 1.324 MB / 1.27 GB, free: 16.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.9386, allocations: 60.41 kB / 1.27 GB, free: 16.35 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.94, allocations: 1.006 MB / 1.271 GB, free: 16.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.94, allocations: 33.3 kB / 1.271 GB, free: 16.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.9403, allocations: 498.3 kB / 1.271 GB, free: 15.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.9404, allocations: 136.8 kB / 1.271 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.9405, allocations: 52.84 kB / 1.271 GB, free: 15.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.9406, allocations: 333.3 kB / 1.272 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.9411, allocations: 240.7 kB / 1.272 GB, free: 15.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.9418, allocations: 404.9 kB / 1.272 GB, free: 15.36 MB / 1.014 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.002504/0.9443, allocations: 1.203 MB / 1.274 GB, free: 15.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9443, allocations: 1.062 kB / 1.274 GB, free: 15.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001246/0.9455, allocations: 0.7619 MB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.9456, allocations: 12.28 kB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9456, allocations: 5.156 kB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.9456, allocations: 7.75 kB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.9461, allocations: 143.9 kB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.9462, allocations: 12.09 kB / 1.275 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/0.9471, allocations: 97.58 kB / 1.275 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.9471, allocations: 23.56 kB / 1.275 GB, free: 14.93 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0003681/0.9475, allocations: 318.8 kB / 1.275 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.9476, allocations: 97.59 kB / 1.275 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.9478, allocations: 100.3 kB / 1.275 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.9478, allocations: 7.844 kB / 1.275 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.9478, allocations: 2.109 kB / 1.275 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005912/0.9484, allocations: 0.6779 MB / 1.276 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.9506, allocations: 1.592 MB / 1.277 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.9506, allocations: 8.25 kB / 1.277 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.951, allocations: 85.95 kB / 1.277 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.951, allocations: 5.906 kB / 1.277 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.951, allocations: 13.84 kB / 1.277 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.951, allocations: 10.86 kB / 1.277 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.951, allocations: 10.34 kB / 1.277 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.9519, allocations: 0.8305 MB / 1.278 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.9522, allocations: 239.4 kB / 1.279 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.9523, allocations: 16.94 kB / 1.279 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.953, allocations: 57.89 kB / 1.279 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.9531, allocations: 37.08 kB / 1.279 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.9531, allocations: 26.36 kB / 1.279 GB, free: 13.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009155/0.9541, allocations: 0.71 MB / 1.279 GB, free: 13.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9541, allocations: 1.859 kB / 1.279 GB, free: 13.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007363/0.9548, allocations: 256.5 kB / 1.28 GB, free: 13.24 MB / 1.014 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.001394/0.9562, allocations: 1.479 MB / 1.281 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008108/0.957, allocations: 496.6 kB / 1.282 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.957, allocations: 2.438 kB / 1.282 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.9573, allocations: 189.3 kB / 1.282 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.9602, allocations: 0.6106 MB / 1.282 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.9703, allocations: 8.331 MB / 1.29 GB, free: 8.812 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.9709, allocations: 1.104 MB / 1.291 GB, free: 8.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009236/0.9719, allocations: 245.5 kB / 1.292 GB, free: 8.035 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.9722, allocations: 345.5 kB / 1.292 GB, free: 8.027 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.9722, allocations: 0 / 1.292 GB, free: 8.027 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.123/3.095, allocations: 26.94 MB / 1.318 GB, free: 3.203 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.06798/3.163, allocations: 266.4 kB / 1.319 GB, free: 2.848 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/5.917, allocations: 3.938 kB / 1.319 GB, free: 2.844 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches