Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001369/0.001369, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 436.5 MB / 0.7104 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003006, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.586, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.164/0.7501, allocations: 158.3 MB / 1.175 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008764/0.7589, allocations: 5.67 MB / 1.181 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.7602, allocations: 31.75 kB / 1.181 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.7621, allocations: 0.5638 MB / 1.182 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.7671, allocations: 1.687 MB / 1.183 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.7706, allocations: 1.184 MB / 1.184 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003055/0.7736, allocations: 1.688 MB / 1.186 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.7749, allocations: 0.7221 MB / 1.187 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.7766, allocations: 0.7785 MB / 1.187 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.7778, allocations: 0.5642 MB / 1.188 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.7781, allocations: 40 kB / 1.188 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.7799, allocations: 0.6162 MB / 1.189 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.7804, allocations: 355 kB / 1.189 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.7808, allocations: 261.1 kB / 1.189 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.7826, allocations: 1.387 MB / 1.191 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.7826, allocations: 0 / 1.191 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7826, allocations: 0 / 1.191 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.448e-05/0.7826, allocations: 0 / 1.191 GB, free: 2.793 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002245/0.7849, allocations: 1.278 MB / 1.192 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7849, allocations: 19.92 kB / 1.192 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.7869, allocations: 318.3 kB / 1.192 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.7883, allocations: 0.7856 MB / 1.193 GB, free: 308 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.7884, allocations: 69.95 kB / 1.193 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.7885, allocations: 84 kB / 1.193 GB, free: 156 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.7901, allocations: 0.9053 MB / 1.194 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.7901, allocations: 0 / 1.194 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.7902, allocations: 36 kB / 1.194 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.7902, allocations: 37.98 kB / 1.194 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.7916, allocations: 0.8315 MB / 1.195 GB, free: 14.34 MB / 0.9512 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.005458/0.7971, allocations: 3.536 MB / 1.198 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.7979, allocations: 0.4992 MB / 1.199 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.798, allocations: 8.438 kB / 1.199 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.798, allocations: 47 kB / 1.199 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.345e-06/0.798, allocations: 0 / 1.199 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.004091/0.8021, allocations: 1.935 MB / 1.201 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.8022, allocations: 59.84 kB / 1.201 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009938/0.8032, allocations: 0.798 MB / 1.202 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.8033, allocations: 37.7 kB / 1.202 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.8036, allocations: 479.3 kB / 1.202 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.8038, allocations: 173.5 kB / 1.202 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.8038, allocations: 12 kB / 1.202 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8039, allocations: 330 kB / 1.203 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.8043, allocations: 253.1 kB / 1.203 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.8049, allocations: 357.2 kB / 1.203 GB, free: 5.441 MB / 0.9512 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.00286/0.8077, allocations: 1.006 MB / 1.204 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8077, allocations: 0 / 1.204 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001341/0.8091, allocations: 0.7965 MB / 1.205 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8091, allocations: 5.719 kB / 1.205 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8091, allocations: 4 kB / 1.205 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.8094, allocations: 93.61 kB / 1.205 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.8101, allocations: 159.8 kB / 1.205 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.813, allocations: 3.092 MB / 1.208 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.8141, allocations: 67.8 kB / 1.208 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.8142, allocations: 20 kB / 1.208 GB, free: 15.91 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005362/0.8147, allocations: 298.2 kB / 1.209 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.8149, allocations: 86.97 kB / 1.209 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.8152, allocations: 104.7 kB / 1.209 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.8152, allocations: 12 kB / 1.209 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8152, allocations: 384 / 1.209 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.8163, allocations: 0.8466 MB / 1.21 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.8194, allocations: 1.806 MB / 1.211 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.8194, allocations: 8 kB / 1.211 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.82, allocations: 139.8 kB / 1.211 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.8203, allocations: 68.88 kB / 1.212 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.8203, allocations: 19.98 kB / 1.212 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.8219, allocations: 1.671 MB / 1.213 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.8219, allocations: 11.89 kB / 1.213 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.8236, allocations: 1.239 MB / 1.214 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.8242, allocations: 232 kB / 1.215 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.8244, allocations: 20.33 kB / 1.215 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008903/0.8253, allocations: 71.78 kB / 1.215 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.8254, allocations: 39.89 kB / 1.215 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.8255, allocations: 35.97 kB / 1.215 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007747/0.8262, allocations: 0.5498 MB / 1.215 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8263, allocations: 4 kB / 1.215 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001006/0.8273, allocations: 288 kB / 1.216 GB, free: 7.895 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/0.8277, allocations: 197.9 kB / 1.216 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.8291, allocations: 0.7968 MB / 1.217 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8291, allocations: 0 / 1.217 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006017/0.8297, allocations: 427.6 kB / 1.217 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.8325, allocations: 0.5756 MB / 1.218 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.8355, allocations: 2.146 MB / 1.22 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.8363, allocations: 1.107 MB / 1.221 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009234/0.8372, allocations: 211.7 kB / 1.221 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.8374, allocations: 75.36 kB / 1.221 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.8374, allocations: 0 / 1.221 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.03141/0.8688, allocations: 18.9 MB / 1.239 GB, free: 15.59 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches