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.0015/0.0015, allocations: 112.1 kB / 16.37 MB, free: 6.465 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.001791/0.001792, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.405/1.405, 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 11.0.0-master/package.mo): time 2.639/2.639, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.02 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3436, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.8623/1.206, allocations: 190.6 MB / 1.213 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009723/1.216, allocations: 5.72 MB / 1.218 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/1.217, allocations: 51 kB / 1.218 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/1.219, allocations: 0.5775 MB / 1.219 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004892/1.224, allocations: 1.837 MB / 1.221 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/1.227, allocations: 1.188 MB / 1.222 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00418/1.231, allocations: 2.96 MB / 1.225 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.233, allocations: 0.9428 MB / 1.226 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/1.234, allocations: 1.057 MB / 1.227 GB, free: 420 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/1.236, allocations: 0.9162 MB / 1.228 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/1.237, allocations: 108 kB / 1.228 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/1.24, allocations: 1.426 MB / 1.229 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004972/1.24, allocations: 458.8 kB / 1.23 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008489/1.241, allocations: 0.6495 MB / 1.23 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/1.244, allocations: 2.135 MB / 1.232 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.244, allocations: 3.938 kB / 1.232 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.053e-06/1.244, allocations: 0 / 1.232 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.888e-05/1.244, allocations: 0 / 1.232 GB, free: 10.84 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.002428/1.247, allocations: 1.516 MB / 1.234 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.247, allocations: 8.031 kB / 1.234 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/1.249, allocations: 310.3 kB / 1.234 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/1.25, allocations: 0.863 MB / 1.235 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/1.25, allocations: 69.94 kB / 1.235 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.25, allocations: 83.98 kB / 1.235 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/1.252, allocations: 0.9131 MB / 1.236 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.252, allocations: 4 kB / 1.236 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/1.252, allocations: 32 kB / 1.236 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/1.252, allocations: 38 kB / 1.236 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/1.254, allocations: 0.8198 MB / 1.237 GB, free: 6.086 MB / 0.9356 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.005457/1.259, allocations: 3.505 MB / 1.24 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/1.26, allocations: 0.5003 MB / 1.241 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/1.26, allocations: 291 kB / 1.241 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/1.26, allocations: 101.5 kB / 1.241 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/1.261, allocations: 39 kB / 1.241 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 3.777e-06/1.261, allocations: 0 / 1.241 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.004182/1.265, allocations: 1.915 MB / 1.243 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.265, allocations: 59.84 kB / 1.243 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.266, allocations: 0.8135 MB / 1.244 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/1.266, allocations: 33.7 kB / 1.244 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/1.266, allocations: 487.1 kB / 1.244 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/1.266, allocations: 169.5 kB / 1.245 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/1.267, allocations: 114.2 kB / 1.245 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.267, allocations: 333.9 kB / 1.245 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/1.267, allocations: 245.2 kB / 1.245 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/1.268, allocations: 353.2 kB / 1.246 GB, free: 12.73 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.003741/1.272, allocations: 1.538 MB / 1.247 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.272, allocations: 4 kB / 1.247 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001339/1.273, allocations: 0.7806 MB / 1.248 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.273, allocations: 11.98 kB / 1.248 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.273, allocations: 0 / 1.248 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/1.273, allocations: 94 kB / 1.248 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/1.274, allocations: 143.8 kB / 1.248 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/1.277, allocations: 3.304 MB / 1.251 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/1.278, allocations: 24.05 kB / 1.251 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/1.278, allocations: 23.94 kB / 1.251 GB, free: 6.473 MB / 0.9512 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: 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004866/1.279, allocations: 302.5 kB / 1.252 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.279, allocations: 94.88 kB / 1.252 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/1.279, allocations: 104.7 kB / 1.252 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/1.279, allocations: 4 kB / 1.252 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.279, allocations: 0 / 1.252 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/1.28, allocations: 0.8427 MB / 1.253 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/1.283, allocations: 1.796 MB / 1.254 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.283, allocations: 8.031 kB / 1.254 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/1.284, allocations: 127.8 kB / 1.255 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002303/1.284, allocations: 68.8 kB / 1.255 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/1.284, allocations: 12 kB / 1.255 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/1.285, allocations: 1.781 MB / 1.256 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.286, allocations: 8.062 kB / 1.256 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/1.287, allocations: 1.081 MB / 1.257 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/1.288, allocations: 235.8 kB / 1.258 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/1.288, allocations: 19.98 kB / 1.258 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/1.288, allocations: 24.8 kB / 1.258 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.289, allocations: 47.83 kB / 1.258 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/1.289, allocations: 32.05 kB / 1.258 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008497/1.29, allocations: 0.5653 MB / 1.258 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.29, allocations: 0 / 1.258 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001109/1.291, allocations: 284 kB / 1.259 GB, free: 14.64 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005563/1.291, allocations: 199.2 kB / 1.259 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001591/1.293, allocations: 0.7934 MB / 1.26 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.293, allocations: 4.062 kB / 1.26 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/1.294, allocations: 414.2 kB / 1.26 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.296, allocations: 0.6078 MB / 1.261 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/1.3, allocations: 1.802 MB / 1.262 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/1.301, allocations: 1.083 MB / 1.263 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000824/1.301, allocations: 219.7 kB / 1.264 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/1.302, allocations: 71.42 kB / 1.264 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of SimCode: time 1.132e-06/1.302, allocations: 0 / 1.264 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of Templates: time 0.03369/1.335, allocations: 20.57 MB / 1.284 GB, free: 5.023 MB / 0.9825 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches