Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_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_10_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.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.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.565/2.565, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6813/0.6828, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2216/0.9044, allocations: 190.6 MB / 1.203 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.9157, allocations: 5.73 MB / 1.209 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.9178, allocations: 39.75 kB / 1.209 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.92, allocations: 0.5825 MB / 1.21 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.9255, allocations: 1.839 MB / 1.211 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.9293, allocations: 1.173 MB / 1.213 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005086/0.9344, allocations: 2.953 MB / 1.215 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.9364, allocations: 0.9537 MB / 1.216 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.9388, allocations: 1.047 MB / 1.217 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.9412, allocations: 0.9078 MB / 1.218 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.9415, allocations: 108 kB / 1.218 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.9451, allocations: 1.434 MB / 1.22 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006711/0.9458, allocations: 458.8 kB / 1.22 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.9471, allocations: 0.6495 MB / 1.221 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.9508, allocations: 2.123 MB / 1.223 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9509, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9509, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.818e-05/0.9509, allocations: 3.938 kB / 1.223 GB, free: 15.19 MB / 0.9825 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.003101/0.9541, allocations: 1.511 MB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.9541, allocations: 12.03 kB / 1.224 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.9563, allocations: 318.2 kB / 1.225 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.9577, allocations: 0.8123 MB / 1.225 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.9578, allocations: 66 kB / 1.226 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.9579, allocations: 84 kB / 1.226 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.9598, allocations: 0.913 MB / 1.227 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.9599, allocations: 0 / 1.227 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.96, allocations: 40 kB / 1.227 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/0.96, allocations: 34 kB / 1.227 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.9615, allocations: 0.8276 MB / 1.227 GB, free: 10.48 MB / 0.9825 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.005745/0.9672, allocations: 3.54 MB / 1.231 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/0.9681, allocations: 0.497 MB / 1.231 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.9685, allocations: 294.7 kB / 1.232 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.9687, allocations: 101.5 kB / 1.232 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.9688, allocations: 42.94 kB / 1.232 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.9688, allocations: 4 kB / 1.232 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.004055/0.9728, allocations: 1.915 MB / 1.234 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.9729, allocations: 63.84 kB / 1.234 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.9739, allocations: 0.8019 MB / 1.234 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.974, allocations: 41.7 kB / 1.235 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.9743, allocations: 467.4 kB / 1.235 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.9745, allocations: 173.5 kB / 1.235 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.9747, allocations: 114.2 kB / 1.235 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9748, allocations: 341.8 kB / 1.236 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.9753, allocations: 241.2 kB / 1.236 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.9758, allocations: 353.2 kB / 1.236 GB, free: 1.09 MB / 0.9825 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.003843/0.9797, allocations: 1.532 MB / 1.238 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9797, allocations: 4 kB / 1.238 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001395/0.9811, allocations: 0.7884 MB / 1.238 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.9811, allocations: 14.28 kB / 1.238 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.9811, allocations: 352 / 1.238 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.9814, allocations: 97.64 kB / 1.239 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.9821, allocations: 139.8 kB / 1.239 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.9851, allocations: 3.316 MB / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/0.986, allocations: 23.92 kB / 1.242 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.9861, allocations: 24 kB / 1.242 GB, free: 10.81 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 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.0004558/0.9865, allocations: 306.8 kB / 1.242 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.9867, allocations: 90.97 kB / 1.242 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.9869, allocations: 104.7 kB / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.9869, allocations: 4 kB / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9869, allocations: 0 / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.988, allocations: 0.8427 MB / 1.243 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.9908, allocations: 1.799 MB / 1.245 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.9908, allocations: 4 kB / 1.245 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.9914, allocations: 128.2 kB / 1.245 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.9917, allocations: 68.81 kB / 1.245 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.9917, allocations: 16 kB / 1.245 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.9934, allocations: 1.781 MB / 1.247 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9934, allocations: 4 kB / 1.247 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.9952, allocations: 1.072 MB / 1.248 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.9957, allocations: 240 kB / 1.248 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.9958, allocations: 15.94 kB / 1.248 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.9965, allocations: 31.97 kB / 1.248 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.9966, allocations: 43.83 kB / 1.248 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.9967, allocations: 31.97 kB / 1.248 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007214/0.9974, allocations: 0.5693 MB / 1.249 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9974, allocations: 0 / 1.249 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009923/0.9984, allocations: 280 kB / 1.249 GB, free: 2.984 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 (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.0005458/0.999, allocations: 189.4 kB / 1.249 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001576/1.001, allocations: 0.859 MB / 1.25 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.001, allocations: 64 / 1.25 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000605/1.001, allocations: 418.3 kB / 1.251 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/1.004, allocations: 0.5996 MB / 1.251 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4763/1.48, allocations: 1.818 MB / 1.253 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/1.481, allocations: 1.086 MB / 1.254 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001039/1.482, allocations: 222.7 kB / 1.254 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/1.482, allocations: 67.59 kB / 1.254 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.482, allocations: 0 / 1.254 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04403/1.526, allocations: 20.61 MB / 1.274 GB, free: 226.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches