Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001459/0.001459, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001812/0.001812, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 0.8688 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5606, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.163/0.7237, allocations: 188 MB / 1.201 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0074/0.7312, allocations: 5.669 MB / 1.206 GB, free: 272 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.7322, allocations: 35.75 kB / 1.206 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.7335, allocations: 0.5053 MB / 1.207 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.7367, allocations: 1.514 MB / 1.208 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.7392, allocations: 1.115 MB / 1.209 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.7418, allocations: 2.554 MB / 1.212 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.743, allocations: 1.001 MB / 1.213 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.7446, allocations: 1.043 MB / 1.214 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.7463, allocations: 0.9134 MB / 1.215 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.7465, allocations: 108 kB / 1.215 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.7487, allocations: 1.621 MB / 1.216 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.7492, allocations: 0.4948 MB / 1.217 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008076/0.75, allocations: 0.6455 MB / 1.217 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.7523, allocations: 2.248 MB / 1.22 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7523, allocations: 0 / 1.22 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7523, allocations: 0 / 1.22 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.336e-05/0.7524, allocations: 4 kB / 1.22 GB, free: 2.422 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002329/0.7547, allocations: 1.515 MB / 1.221 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.7547, allocations: 12.03 kB / 1.221 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.7549, allocations: 139.3 kB / 1.221 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.7578, allocations: 470.1 kB / 1.222 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.759, allocations: 0.8239 MB / 1.222 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.7593, allocations: 121.9 kB / 1.223 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.7595, allocations: 91.94 kB / 1.223 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.7615, allocations: 1.183 MB / 1.224 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.7615, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.7616, allocations: 44 kB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.7616, allocations: 30 kB / 1.224 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.7638, allocations: 1.077 MB / 1.225 GB, free: 12.81 MB / 0.9825 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.006056/0.7698, allocations: 4.339 MB / 1.229 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.7716, allocations: 0.7668 MB / 1.23 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.7725, allocations: 406.6 kB / 1.23 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.7727, allocations: 105.1 kB / 1.23 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.7727, allocations: 46.56 kB / 1.23 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.7727, allocations: 0 / 1.23 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.005149/0.7779, allocations: 2.207 MB / 1.233 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.7779, allocations: 55.41 kB / 1.233 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008774/0.7788, allocations: 0.8647 MB / 1.233 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.7788, allocations: 41.64 kB / 1.234 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.7791, allocations: 495.2 kB / 1.234 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.7793, allocations: 165.6 kB / 1.234 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.7795, allocations: 122.2 kB / 1.234 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.7796, allocations: 326 kB / 1.235 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008505/0.7804, allocations: 381 kB / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009091/0.7813, allocations: 0.4936 MB / 1.235 GB, free: 1.59 MB / 0.9825 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.005585/0.7869, allocations: 2.305 MB / 1.238 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7869, allocations: 0 / 1.238 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002018/0.789, allocations: 0.9976 MB / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.789, allocations: 4.125 kB / 1.239 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.789, allocations: 8 kB / 1.239 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.789, allocations: 11.94 kB / 1.239 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.7899, allocations: 195.7 kB / 1.239 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.7899, allocations: 8 kB / 1.239 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/0.7908, allocations: 99.75 kB / 1.239 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.7909, allocations: 27.98 kB / 1.239 GB, free: 13.86 MB / 0.9981 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0003466/0.7913, allocations: 317.5 kB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.7914, allocations: 94.88 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.7916, allocations: 112.7 kB / 1.239 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7916, allocations: 8 kB / 1.239 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.7916, allocations: 0 / 1.239 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001734/0.7934, allocations: 1.03 MB / 1.24 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.7973, allocations: 2.148 MB / 1.243 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7974, allocations: 4 kB / 1.243 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008031/0.7982, allocations: 168.2 kB / 1.243 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.7982, allocations: 4 kB / 1.243 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.7982, allocations: 19.98 kB / 1.243 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.7982, allocations: 15.88 kB / 1.243 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7983, allocations: 8 kB / 1.243 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.8009, allocations: 1.429 MB / 1.244 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.8013, allocations: 255.9 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.8014, allocations: 12 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/0.8024, allocations: 109.2 kB / 1.245 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.8024, allocations: 43.89 kB / 1.245 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.8025, allocations: 27.98 kB / 1.245 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006186/0.8031, allocations: 0.6043 MB / 1.245 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8031, allocations: 0 / 1.245 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007168/0.8039, allocations: 268 kB / 1.245 GB, free: 6.941 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 45 * 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.003201/0.8071, allocations: 2.07 MB / 1.247 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.809, allocations: 0.8976 MB / 1.248 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.809, allocations: 0 / 1.248 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008855/0.8099, allocations: 397.3 kB / 1.249 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.8124, allocations: 0.5805 MB / 1.249 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3763/1.189, allocations: 8.878 MB / 1.258 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/1.189, allocations: 1.107 MB / 1.259 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009725/1.19, allocations: 257.6 kB / 1.259 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/1.191, allocations: 353.5 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.191, allocations: 0.6875 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.365/3.556, allocations: 28.29 MB / 1.287 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/3.556, allocations: 307.7 kB / 1.288 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/6.366, allocations: 2.188 kB / 1.288 GB, free: 216.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches