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.001449/0.001449, allocations: 112.6 kB / 16.37 MB, free: 6 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.001563/0.001563, allocations: 196 kB / 17.31 MB, free: 5.613 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 65.86 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3103, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6934/1.004, allocations: 190.5 MB / 1.137 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008435/1.012, allocations: 5.709 MB / 1.143 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/1.013, allocations: 41.59 kB / 1.143 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/1.015, allocations: 0.5674 MB / 1.143 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003481/1.018, allocations: 1.608 MB / 1.145 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002685/1.021, allocations: 1.229 MB / 1.146 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003065/1.024, allocations: 2.548 MB / 1.149 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/1.026, allocations: 1.032 MB / 1.15 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/1.028, allocations: 1.051 MB / 1.151 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/1.03, allocations: 0.8466 MB / 1.151 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/1.03, allocations: 108.8 kB / 1.152 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/1.033, allocations: 1.551 MB / 1.153 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/1.033, allocations: 0.5036 MB / 1.154 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007138/1.034, allocations: 0.6343 MB / 1.154 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/1.036, allocations: 2.178 MB / 1.156 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.036, allocations: 2.531 kB / 1.156 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/1.036, allocations: 4 kB / 1.156 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.71e-05/1.036, allocations: 1 kB / 1.156 GB, free: 1.461 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.002353/1.039, allocations: 1.514 MB / 1.158 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.039, allocations: 9.781 kB / 1.158 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00291/1.042, allocations: 470.6 kB / 1.158 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/1.043, allocations: 0.8547 MB / 1.159 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/1.043, allocations: 68.16 kB / 1.159 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/1.044, allocations: 89.72 kB / 1.159 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.046, allocations: 1.172 MB / 1.16 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.046, allocations: 5 kB / 1.16 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.847e-05/1.046, allocations: 39.19 kB / 1.16 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/1.046, allocations: 42.56 kB / 1.16 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/1.048, allocations: 1.064 MB / 1.161 GB, free: 15.02 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.007745/1.056, allocations: 4.315 MB / 1.166 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.058, allocations: 0.7386 MB / 1.166 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008759/1.059, allocations: 400.6 kB / 1.167 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/1.059, allocations: 105.6 kB / 1.167 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.059, allocations: 50.69 kB / 1.167 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.515e-06/1.059, allocations: 0 / 1.167 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.005569/1.064, allocations: 2.174 MB / 1.169 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/1.065, allocations: 64.81 kB / 1.169 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.066, allocations: 0.8651 MB / 1.17 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/1.066, allocations: 36.45 kB / 1.17 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/1.066, allocations: 497.1 kB / 1.17 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/1.066, allocations: 157.3 kB / 1.171 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/1.067, allocations: 126.5 kB / 1.171 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.067, allocations: 325.8 kB / 1.171 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009016/1.068, allocations: 372.8 kB / 1.171 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009838/1.069, allocations: 0.5 MB / 1.172 GB, free: 9.172 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.005867/1.074, allocations: 2.259 MB / 1.174 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.074, allocations: 6.219 kB / 1.174 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002257/1.077, allocations: 0.9817 MB / 1.175 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.077, allocations: 8.125 kB / 1.175 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/1.077, allocations: 2.656 kB / 1.175 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.077, allocations: 7.344 kB / 1.175 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/1.078, allocations: 190.1 kB / 1.175 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/1.078, allocations: 15.16 kB / 1.175 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.079, allocations: 70.14 kB / 1.175 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/1.079, allocations: 25.19 kB / 1.175 GB, free: 7.676 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.0005475/1.079, allocations: 313.1 kB / 1.176 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.08, allocations: 96.41 kB / 1.176 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/1.08, allocations: 101.1 kB / 1.176 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.08, allocations: 4.781 kB / 1.176 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/1.08, allocations: 7.922 kB / 1.176 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/1.082, allocations: 1.028 MB / 1.177 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/1.086, allocations: 2.139 MB / 1.179 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.086, allocations: 3.156 kB / 1.179 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/1.087, allocations: 171.7 kB / 1.179 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/1.087, allocations: 5.125 kB / 1.179 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/1.087, allocations: 16.44 kB / 1.179 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/1.087, allocations: 10.27 kB / 1.179 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.087, allocations: 3.25 kB / 1.179 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/1.09, allocations: 1.413 MB / 1.181 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/1.091, allocations: 255.3 kB / 1.181 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/1.091, allocations: 15.86 kB / 1.181 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/1.092, allocations: 68.91 kB / 1.181 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/1.092, allocations: 36.17 kB / 1.181 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/1.092, allocations: 28.95 kB / 1.181 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007664/1.093, allocations: 0.6038 MB / 1.182 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.093, allocations: 0 / 1.182 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009129/1.094, allocations: 271.5 kB / 1.182 GB, free: 3.59 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.0004598/1.094, allocations: 209.8 kB / 1.182 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001988/1.096, allocations: 0.814 MB / 1.183 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.096, allocations: 0 / 1.183 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/1.097, allocations: 391.3 kB / 1.183 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.1, allocations: 0.5867 MB / 1.184 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/1.104, allocations: 2.166 MB / 1.186 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/1.105, allocations: 1.111 MB / 1.187 GB, free: 376 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008582/1.106, allocations: 266.3 kB / 1.187 GB, free: 256 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/1.106, allocations: 73.86 kB / 1.187 GB, free: 244 kB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.106, allocations: 0 / 1.187 GB, free: 244 kB / 0.8731 GB Notification: Performance of Templates: time 0.03378/1.14, allocations: 20.95 MB / 1.208 GB, free: 4.672 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 gbode -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