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.001056/0.001056, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001419/0.001419, allocations: 172.7 kB / 15.95 MB, free: 208 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 462.6 MB / 0.736 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 12.38 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2655, allocations: 159.6 MB / 1.058 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1708/0.4364, allocations: 173.4 MB / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008041/0.4445, allocations: 5.417 MB / 1.233 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008759/0.4454, allocations: 39.75 kB / 1.233 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.4465, allocations: 401.5 kB / 1.233 GB, free: 1.684 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003223/0.4497, allocations: 1.372 MB / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.452, allocations: 0.8511 MB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003977/0.456, allocations: 3.446 MB / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.4573, allocations: 0.7102 MB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.459, allocations: 0.8752 MB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.4603, allocations: 0.8678 MB / 1.241 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.4605, allocations: 44 kB / 1.241 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.4627, allocations: 0.7054 MB / 1.242 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.4631, allocations: 386.8 kB / 1.242 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.4634, allocations: 257.1 kB / 1.242 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.4651, allocations: 1.477 MB / 1.244 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4651, allocations: 0 / 1.244 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4651, allocations: 0 / 1.244 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.4652, allocations: 0 / 1.244 GB, free: 6.668 MB / 0.9981 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.002049/0.4672, allocations: 1.305 MB / 1.245 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4673, allocations: 8.031 kB / 1.245 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.4691, allocations: 314.4 kB / 1.245 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4704, allocations: 0.7894 MB / 1.246 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.4704, allocations: 66 kB / 1.246 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4705, allocations: 87.98 kB / 1.246 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4721, allocations: 0.9131 MB / 1.247 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.4721, allocations: 3.938 kB / 1.247 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.4722, allocations: 40 kB / 1.247 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.4723, allocations: 30 kB / 1.247 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.4738, allocations: 0.8315 MB / 1.248 GB, free: 2.188 MB / 0.9981 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.5173/0.9911, allocations: 3.532 MB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/0.992, allocations: 0.4921 MB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.9925, allocations: 302.3 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.9927, allocations: 108.4 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.9927, allocations: 42.19 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/0.9927, allocations: 0 / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004177/0.9969, allocations: 1.948 MB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.997, allocations: 57.53 kB / 1.254 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/0.9979, allocations: 0.7952 MB / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.998, allocations: 39.61 kB / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.9983, allocations: 477.8 kB / 1.256 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.9984, allocations: 175.6 kB / 1.256 GB, free: 190 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.9985, allocations: 9.781 kB / 1.256 GB, free: 190 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.9985, allocations: 330.3 kB / 1.256 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.9989, allocations: 247.2 kB / 1.256 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.9994, allocations: 354.9 kB / 1.257 GB, free: 189.6 MB / 0.9981 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.002551/1.002, allocations: 1.008 MB / 1.258 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.002, allocations: 0 / 1.258 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001177/1.003, allocations: 0.7949 MB / 1.258 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.003, allocations: 5.938 kB / 1.258 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.003, allocations: 2.938 kB / 1.258 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/1.003, allocations: 94.19 kB / 1.259 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/1.004, allocations: 154.8 kB / 1.259 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/1.006, allocations: 3.05 MB / 1.262 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/1.007, allocations: 57.36 kB / 1.262 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/1.007, allocations: 30.94 kB / 1.262 GB, free: 186.8 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 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.0004628/1.008, allocations: 307.2 kB / 1.262 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/1.008, allocations: 95.91 kB / 1.262 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/1.008, allocations: 98.7 kB / 1.262 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.008, allocations: 6.578 kB / 1.262 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.008, allocations: 3.938 kB / 1.262 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009576/1.009, allocations: 0.8472 MB / 1.263 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/1.012, allocations: 1.799 MB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.012, allocations: 2.906 kB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/1.013, allocations: 143.9 kB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/1.013, allocations: 64.14 kB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/1.013, allocations: 17.3 kB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/1.014, allocations: 1.65 MB / 1.267 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.014, allocations: 9.281 kB / 1.267 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/1.016, allocations: 1.081 MB / 1.268 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/1.016, allocations: 245 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/1.016, allocations: 12.44 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/1.017, allocations: 64.48 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/1.017, allocations: 50.78 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/1.017, allocations: 28.91 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000859/1.018, allocations: 0.5521 MB / 1.269 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0.6562 kB / 1.269 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00111/1.019, allocations: 287.2 kB / 1.269 GB, free: 183.9 MB / 0.9981 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.0004618/1.02, allocations: 190.1 kB / 1.269 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001523/1.021, allocations: 0.7999 MB / 1.27 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.021, allocations: 1.5 kB / 1.27 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006345/1.022, allocations: 419.8 kB / 1.27 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/1.025, allocations: 0.5933 MB / 1.271 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/1.028, allocations: 2.169 MB / 1.273 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008721/1.029, allocations: 1.084 MB / 1.274 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001119/1.03, allocations: 206.9 kB / 1.274 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/1.03, allocations: 69.95 kB / 1.274 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/1.03, allocations: 0 / 1.274 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03423/1.065, allocations: 18.92 MB / 1.293 GB, free: 174.7 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches