Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.002051/0.002051, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 68.3 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7627/1.063, allocations: 190.5 MB / 1.137 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009702/1.072, allocations: 5.713 MB / 1.143 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/1.074, allocations: 37.12 kB / 1.143 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/1.076, allocations: 0.5645 MB / 1.143 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/1.081, allocations: 1.605 MB / 1.145 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/1.085, allocations: 1.224 MB / 1.146 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004002/1.089, allocations: 2.557 MB / 1.149 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/1.09, allocations: 1.03 MB / 1.15 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/1.092, allocations: 1.046 MB / 1.151 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/1.094, allocations: 0.8559 MB / 1.151 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/1.094, allocations: 109.5 kB / 1.152 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/1.097, allocations: 1.552 MB / 1.153 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006154/1.098, allocations: 0.4896 MB / 1.154 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008195/1.099, allocations: 0.642 MB / 1.154 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003316/1.102, allocations: 2.178 MB / 1.156 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.102, allocations: 0 / 1.156 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/1.102, allocations: 4 kB / 1.156 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.008e-05/1.102, allocations: 0 / 1.156 GB, free: 1.578 MB / 0.8575 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.002818/1.105, allocations: 1.514 MB / 1.158 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.105, allocations: 9.156 kB / 1.158 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/1.108, allocations: 470.6 kB / 1.158 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/1.11, allocations: 0.8563 MB / 1.159 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/1.11, allocations: 65.5 kB / 1.159 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.11, allocations: 89.41 kB / 1.159 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/1.112, allocations: 1.177 MB / 1.16 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/1.112, allocations: 1.375 kB / 1.16 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/1.113, allocations: 40.88 kB / 1.16 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/1.113, allocations: 35.44 kB / 1.16 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/1.115, allocations: 1.069 MB / 1.161 GB, free: 15.14 MB / 0.8731 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.007859/1.123, allocations: 4.312 MB / 1.166 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/1.125, allocations: 0.7417 MB / 1.166 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009363/1.126, allocations: 400.5 kB / 1.167 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/1.126, allocations: 104.3 kB / 1.167 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/1.126, allocations: 42.28 kB / 1.167 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/1.126, allocations: 3.938 kB / 1.167 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.006162/1.132, allocations: 2.184 MB / 1.169 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.132, allocations: 59.88 kB / 1.169 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.134, allocations: 0.8652 MB / 1.17 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/1.134, allocations: 36.77 kB / 1.17 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/1.134, allocations: 498.7 kB / 1.17 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.134, allocations: 159.7 kB / 1.171 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/1.135, allocations: 126.6 kB / 1.171 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.135, allocations: 335.3 kB / 1.171 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009719/1.136, allocations: 369.8 kB / 1.171 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009856/1.137, allocations: 0.4935 MB / 1.172 GB, free: 9.289 MB / 0.8731 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.006193/1.143, allocations: 2.267 MB / 1.174 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.143, allocations: 0 / 1.174 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002509/1.146, allocations: 0.9868 MB / 1.175 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.146, allocations: 8.031 kB / 1.175 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.146, allocations: 2.5 kB / 1.175 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/1.146, allocations: 8.219 kB / 1.175 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/1.147, allocations: 189.2 kB / 1.175 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.147, allocations: 16.17 kB / 1.175 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/1.148, allocations: 61.94 kB / 1.175 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/1.148, allocations: 27.17 kB / 1.175 GB, free: 7.805 MB / 0.8731 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.0006019/1.148, allocations: 315.9 kB / 1.176 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/1.149, allocations: 94.03 kB / 1.176 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/1.149, allocations: 108.4 kB / 1.176 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.149, allocations: 5.031 kB / 1.176 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.149, allocations: 3.938 kB / 1.176 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00208/1.151, allocations: 1.021 MB / 1.177 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/1.156, allocations: 2.144 MB / 1.179 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.156, allocations: 6.219 kB / 1.179 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/1.157, allocations: 162.6 kB / 1.179 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.157, allocations: 6.969 kB / 1.179 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/1.157, allocations: 21.23 kB / 1.179 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/1.157, allocations: 8.375 kB / 1.179 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.157, allocations: 6.469 kB / 1.179 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/1.16, allocations: 1.416 MB / 1.181 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007628/1.161, allocations: 251.4 kB / 1.181 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.161, allocations: 16.66 kB / 1.181 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/1.162, allocations: 69.36 kB / 1.181 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/1.162, allocations: 39.5 kB / 1.181 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.162, allocations: 30.09 kB / 1.181 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000869/1.163, allocations: 0.606 MB / 1.182 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/1.163, allocations: 0 / 1.182 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009743/1.164, allocations: 264.5 kB / 1.182 GB, free: 3.715 MB / 0.8731 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.0004996/1.165, allocations: 212 kB / 1.182 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002003/1.167, allocations: 0.8097 MB / 1.183 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.167, allocations: 2.656 kB / 1.183 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009176/1.167, allocations: 396.7 kB / 1.183 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.17, allocations: 0.5846 MB / 1.184 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/1.175, allocations: 2.171 MB / 1.186 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/1.175, allocations: 1.111 MB / 1.187 GB, free: 500 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001035/1.176, allocations: 258.4 kB / 1.187 GB, free: 388 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/1.177, allocations: 82.19 kB / 1.187 GB, free: 368 kB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/1.177, allocations: 0 / 1.187 GB, free: 368 kB / 0.8731 GB Notification: Performance of Templates: time 0.0377/1.214, allocations: 20.93 MB / 1.208 GB, free: 4.844 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches