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: 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_10_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_10_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.001464/0.001464, allocations: 108.7 kB / 15.99 MB, free: 6.359 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.001515/0.001515, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.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.5/2.5, allocations: 437 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.95 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.9131/1.253, allocations: 188 MB / 1.201 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01013/1.264, allocations: 5.67 MB / 1.207 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/1.266, allocations: 38.09 kB / 1.207 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/1.267, allocations: 0.5088 MB / 1.207 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/1.272, allocations: 1.514 MB / 1.209 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00392/1.276, allocations: 1.101 MB / 1.21 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00384/1.28, allocations: 2.552 MB / 1.212 GB, free: 15.35 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.281, allocations: 1.011 MB / 1.213 GB, free: 14.74 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/1.284, allocations: 1.046 MB / 1.214 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/1.286, allocations: 0.9026 MB / 1.215 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/1.286, allocations: 108.5 kB / 1.215 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/1.29, allocations: 1.625 MB / 1.217 GB, free: 12.74 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006934/1.29, allocations: 0.5054 MB / 1.217 GB, free: 12.4 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007975/1.291, allocations: 0.6442 MB / 1.218 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/1.294, allocations: 1.648 MB / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.294, allocations: 0 / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/1.294, allocations: 0 / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.86e-05/1.294, allocations: 0 / 1.219 GB, free: 10.95 MB / 0.92 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.002817/1.297, allocations: 1.512 MB / 1.221 GB, free: 9.539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.297, allocations: 16.62 kB / 1.221 GB, free: 9.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/1.3, allocations: 466.1 kB / 1.221 GB, free: 9.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/1.301, allocations: 0.8162 MB / 1.222 GB, free: 8.207 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/1.301, allocations: 125.9 kB / 1.222 GB, free: 8.082 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/1.302, allocations: 87.94 kB / 1.222 GB, free: 7.996 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/1.304, allocations: 1.194 MB / 1.224 GB, free: 6.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/1.304, allocations: 3.938 kB / 1.224 GB, free: 6.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/1.304, allocations: 36 kB / 1.224 GB, free: 6.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/1.304, allocations: 34 kB / 1.224 GB, free: 6.707 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/1.307, allocations: 1.077 MB / 1.225 GB, free: 5.633 MB / 0.92 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.007734/1.314, allocations: 4.34 MB / 1.229 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/1.316, allocations: 0.7647 MB / 1.23 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009705/1.317, allocations: 410.7 kB / 1.23 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/1.318, allocations: 105 kB / 1.23 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/1.318, allocations: 42.5 kB / 1.23 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/1.318, allocations: 0 / 1.23 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.006481/1.324, allocations: 2.199 MB / 1.232 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/1.324, allocations: 67.34 kB / 1.232 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.326, allocations: 0.8569 MB / 1.233 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.731e-05/1.326, allocations: 37.7 kB / 1.233 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/1.326, allocations: 495.3 kB / 1.234 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/1.326, allocations: 165.6 kB / 1.234 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/1.327, allocations: 118.2 kB / 1.234 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.327, allocations: 334 kB / 1.234 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009435/1.328, allocations: 369 kB / 1.235 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.329, allocations: 0.5091 MB / 1.235 GB, free: 10.41 MB / 0.9356 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.006656/1.335, allocations: 2.302 MB / 1.237 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.335, allocations: 4 kB / 1.237 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002626/1.338, allocations: 0.986 MB / 1.238 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.338, allocations: 8 kB / 1.238 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.338, allocations: 7.938 kB / 1.238 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.338, allocations: 8 kB / 1.238 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.339, allocations: 201 kB / 1.239 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/1.339, allocations: 5.016 kB / 1.239 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.34, allocations: 107.7 kB / 1.239 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/1.341, allocations: 27.98 kB / 1.239 GB, free: 6.684 MB / 0.9356 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.0005749/1.341, allocations: 313.5 kB / 1.239 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/1.341, allocations: 94.88 kB / 1.239 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/1.342, allocations: 104.8 kB / 1.239 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/1.342, allocations: 7.938 kB / 1.239 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.342, allocations: 0 / 1.239 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002247/1.344, allocations: 1.034 MB / 1.24 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00532/1.349, allocations: 2.152 MB / 1.242 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.349, allocations: 8.062 kB / 1.242 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/1.35, allocations: 175.7 kB / 1.243 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/1.35, allocations: 4 kB / 1.243 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/1.35, allocations: 19.98 kB / 1.243 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/1.35, allocations: 4 kB / 1.243 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/1.35, allocations: 11.88 kB / 1.243 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/1.353, allocations: 1.433 MB / 1.244 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/1.354, allocations: 251.9 kB / 1.244 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.354, allocations: 19.98 kB / 1.244 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/1.355, allocations: 97.94 kB / 1.244 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.355, allocations: 43.83 kB / 1.244 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/1.355, allocations: 27.98 kB / 1.244 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009214/1.356, allocations: 0.6044 MB / 1.245 GB, free: 36 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.356, allocations: 0 / 1.245 GB, free: 36 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001011/1.357, allocations: 264 kB / 1.245 GB, free: 15.77 MB / 0.9512 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.0005544/1.358, allocations: 210.3 kB / 1.245 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0025/1.36, allocations: 0.8904 MB / 1.246 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.36, allocations: 0 / 1.246 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.362, allocations: 405 kB / 1.247 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.364, allocations: 0.588 MB / 1.247 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/1.37, allocations: 2.613 MB / 1.25 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/1.371, allocations: 1.106 MB / 1.251 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/1.371, allocations: 83.41 kB / 1.251 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of SimCode: time 9.22e-07/1.371, allocations: 0 / 1.251 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of Templates: time 0.02898/1.4, allocations: 16.89 MB / 1.268 GB, free: 9.074 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (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 & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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