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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00579/0.00579, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00131/0.00131, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.76/2.76, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001676, allocations: 63.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3033, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.914/1.217, allocations: 190.3 MB / 1.393 GB, free: 15.41 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00999/1.227, allocations: 5.694 MB / 1.399 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/1.229, allocations: 45.62 kB / 1.399 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/1.231, allocations: 0.567 MB / 1.399 GB, free: 10.29 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004897/1.236, allocations: 1.608 MB / 1.401 GB, free: 9.031 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003639/1.24, allocations: 1.201 MB / 1.402 GB, free: 8.133 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004066/1.244, allocations: 2.517 MB / 1.405 GB, free: 6.688 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/1.246, allocations: 0.989 MB / 1.405 GB, free: 6.105 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/1.248, allocations: 1.047 MB / 1.407 GB, free: 5.48 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/1.25, allocations: 0.8136 MB / 1.407 GB, free: 5.008 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/1.25, allocations: 101.8 kB / 1.407 GB, free: 5.008 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/1.254, allocations: 1.527 MB / 1.409 GB, free: 4.18 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006828/1.254, allocations: 497.5 kB / 1.409 GB, free: 3.855 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/1.256, allocations: 0.6153 MB / 1.41 GB, free: 3.465 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/1.26, allocations: 2.119 MB / 1.412 GB, free: 2.113 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/1.26, allocations: 0 / 1.412 GB, free: 2.113 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.353e-06/1.26, allocations: 0 / 1.412 GB, free: 2.113 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.469e-05/1.26, allocations: 4 kB / 1.412 GB, free: 2.109 MB / 1.092 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.003237/1.263, allocations: 1.47 MB / 1.413 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.263, allocations: 8.438 kB / 1.413 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002952/1.263, allocations: 136.4 kB / 1.414 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/1.266, allocations: 329.2 kB / 1.414 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/1.268, allocations: 0.8069 MB / 1.415 GB, free: 120 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/1.268, allocations: 70.72 kB / 1.415 GB, free: 88 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/1.268, allocations: 90.73 kB / 1.415 GB, free: 52 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/1.27, allocations: 1.07 MB / 1.416 GB, free: 15.39 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/1.27, allocations: 6.062 kB / 1.416 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.27, allocations: 38.59 kB / 1.416 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/1.27, allocations: 37.08 kB / 1.416 GB, free: 15.35 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.272, allocations: 0.8228 MB / 1.417 GB, free: 14.95 MB / 1.107 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.006197/1.278, allocations: 4.258 MB / 1.421 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/1.279, allocations: 378.1 kB / 1.421 GB, free: 11.16 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/1.279, allocations: 208.8 kB / 1.422 GB, free: 11.06 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/1.279, allocations: 104.5 kB / 1.422 GB, free: 10.95 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.279, allocations: 39.5 kB / 1.422 GB, free: 10.91 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/1.279, allocations: 0 / 1.422 GB, free: 10.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=38): time 0.002554/1.282, allocations: 1.333 MB / 1.423 GB, free: 9.816 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.282, allocations: 63.09 kB / 1.423 GB, free: 9.742 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/1.283, allocations: 0.9966 MB / 1.424 GB, free: 8.723 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/1.283, allocations: 37.7 kB / 1.424 GB, free: 8.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/1.284, allocations: 0.4914 MB / 1.424 GB, free: 8.184 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.284, allocations: 142 kB / 1.425 GB, free: 8.043 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/1.284, allocations: 122.1 kB / 1.425 GB, free: 7.918 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.284, allocations: 330 kB / 1.425 GB, free: 7.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/1.285, allocations: 237.2 kB / 1.425 GB, free: 7.359 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/1.285, allocations: 419.9 kB / 1.426 GB, free: 6.871 MB / 1.107 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.002416/1.288, allocations: 1.219 MB / 1.427 GB, free: 5.555 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.288, allocations: 4 kB / 1.427 GB, free: 5.551 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001405/1.289, allocations: 0.7616 MB / 1.428 GB, free: 4.781 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.289, allocations: 8 kB / 1.428 GB, free: 4.773 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.289, allocations: 8 kB / 1.428 GB, free: 4.766 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.289, allocations: 12.81 kB / 1.428 GB, free: 4.754 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/1.29, allocations: 148.1 kB / 1.428 GB, free: 4.609 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/1.29, allocations: 12 kB / 1.428 GB, free: 4.598 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009202/1.291, allocations: 51.95 kB / 1.428 GB, free: 4.547 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/1.291, allocations: 27.98 kB / 1.428 GB, free: 4.52 MB / 1.107 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.0004425/1.291, allocations: 321.5 kB / 1.428 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.291, allocations: 98.78 kB / 1.428 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/1.292, allocations: 110.1 kB / 1.428 GB, free: 3.984 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.292, allocations: 4 kB / 1.428 GB, free: 3.98 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.292, allocations: 0 / 1.428 GB, free: 3.98 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006636/1.292, allocations: 0.6753 MB / 1.429 GB, free: 3.219 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/1.295, allocations: 1.573 MB / 1.431 GB, free: 1.539 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.295, allocations: 7.984 kB / 1.431 GB, free: 1.531 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/1.295, allocations: 79.91 kB / 1.431 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/1.295, allocations: 8 kB / 1.431 GB, free: 1.445 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/1.295, allocations: 16 kB / 1.431 GB, free: 1.43 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/1.295, allocations: 17.38 kB / 1.431 GB, free: 1.414 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.295, allocations: 8 kB / 1.431 GB, free: 1.406 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/1.296, allocations: 0.8239 MB / 1.432 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/1.297, allocations: 239.9 kB / 1.432 GB, free: 272 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/1.297, allocations: 23.92 kB / 1.432 GB, free: 248 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/1.298, allocations: 35.91 kB / 1.432 GB, free: 212 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/1.298, allocations: 31.91 kB / 1.432 GB, free: 180 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/1.298, allocations: 31.92 kB / 1.432 GB, free: 148 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00104/1.299, allocations: 0.7077 MB / 1.433 GB, free: 15.43 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.583e-06/1.299, allocations: 0 / 1.433 GB, free: 15.43 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008954/1.3, allocations: 255.9 kB / 1.433 GB, free: 15.18 MB / 1.123 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.001717/1.302, allocations: 1.492 MB / 1.434 GB, free: 13.62 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009703/1.303, allocations: 0.4976 MB / 1.435 GB, free: 13.12 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.303, allocations: 7.938 kB / 1.435 GB, free: 13.11 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/1.303, allocations: 183.7 kB / 1.435 GB, free: 12.93 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.306, allocations: 0.6105 MB / 1.436 GB, free: 12.34 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.316, allocations: 7.596 MB / 1.443 GB, free: 4.367 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/1.317, allocations: 1.099 MB / 1.444 GB, free: 3.238 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009012/1.318, allocations: 248.3 kB / 1.444 GB, free: 2.992 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/1.319, allocations: 343.3 kB / 1.445 GB, free: 2.656 MB / 1.123 GB Notification: Performance of SimCode: time 8.42e-07/1.319, allocations: 0 / 1.445 GB, free: 2.656 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/1.375, allocations: 28.24 MB / 1.472 GB, free: 6.844 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.495/10.87, allocations: 7.031 kB / 1.472 GB, free: 6.84 MB / 1.154 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