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.001005/0.00101, allocations: 99.34 kB / 16.02 MB, free: 72 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.001297/0.001298, allocations: 182.9 kB / 16.92 MB, free: 6.918 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: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.745/2.745, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 12.2 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3615, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2055/0.5671, allocations: 185.9 MB / 1.241 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0126/0.5798, allocations: 5.749 MB / 1.246 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.582, allocations: 35.75 kB / 1.246 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.5839, allocations: 0.4974 MB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.5894, allocations: 1.74 MB / 1.249 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.5928, allocations: 1.082 MB / 1.25 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7778/1.371, allocations: 4.084 MB / 1.254 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/1.373, allocations: 0.7745 MB / 1.254 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/1.377, allocations: 0.8766 MB / 1.255 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004046/1.381, allocations: 0.9032 MB / 1.256 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000349/1.382, allocations: 43.8 kB / 1.256 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006147/1.388, allocations: 1.626 MB / 1.258 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/1.389, allocations: 387.7 kB / 1.258 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002228/1.391, allocations: 0.5936 MB / 1.259 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00502/1.397, allocations: 1.571 MB / 1.26 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.397, allocations: 1.75 kB / 1.26 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.477e-06/1.397, allocations: 2.906 kB / 1.26 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.455e-05/1.397, allocations: 0 / 1.26 GB, free: 4.559 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.005303/1.402, allocations: 1.285 MB / 1.262 GB, free: 19.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/1.402, allocations: 11.98 kB / 1.262 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004498/1.407, allocations: 320.5 kB / 1.262 GB, free: 19.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/1.41, allocations: 0.8064 MB / 1.263 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.41, allocations: 66.12 kB / 1.263 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/1.411, allocations: 83.06 kB / 1.263 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/1.414, allocations: 0.9258 MB / 1.264 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/1.415, allocations: 0.6562 kB / 1.264 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/1.415, allocations: 33.31 kB / 1.264 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/1.415, allocations: 36.25 kB / 1.264 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/1.418, allocations: 0.8393 MB / 1.265 GB, free: 19.38 MB / 1.014 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.01299/1.431, allocations: 3.541 MB / 1.268 GB, free: 18.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.433, allocations: 0.4957 MB / 1.269 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009425/1.434, allocations: 301.6 kB / 1.269 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/1.434, allocations: 105.2 kB / 1.269 GB, free: 17.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/1.434, allocations: 40.36 kB / 1.269 GB, free: 17.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 5.45e-06/1.434, allocations: 0 / 1.269 GB, free: 17.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.008288/1.443, allocations: 1.95 MB / 1.271 GB, free: 17.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/1.443, allocations: 60.38 kB / 1.271 GB, free: 17.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/1.446, allocations: 0.8047 MB / 1.272 GB, free: 17.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/1.446, allocations: 37.17 kB / 1.272 GB, free: 16.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006728/1.447, allocations: 484.1 kB / 1.272 GB, free: 16.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/1.447, allocations: 168.2 kB / 1.272 GB, free: 16.67 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/1.447, allocations: 53.28 kB / 1.272 GB, free: 16.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002254/1.447, allocations: 330.9 kB / 1.273 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.448, allocations: 245.2 kB / 1.273 GB, free: 16.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/1.45, allocations: 362.4 kB / 1.273 GB, free: 16.24 MB / 1.014 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.007337/1.457, allocations: 1.566 MB / 1.275 GB, free: 16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.457, allocations: 0 / 1.275 GB, free: 16 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002821/1.46, allocations: 0.7978 MB / 1.276 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.46, allocations: 7.844 kB / 1.276 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.46, allocations: 5.703 kB / 1.276 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/1.461, allocations: 99.66 kB / 1.276 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.462, allocations: 154.8 kB / 1.276 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/1.467, allocations: 3.065 MB / 1.279 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.469, allocations: 60.06 kB / 1.279 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/1.469, allocations: 25.84 kB / 1.279 GB, free: 13.34 MB / 1.014 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 (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.00116/1.47, allocations: 304.5 kB / 1.279 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/1.471, allocations: 94.88 kB / 1.279 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/1.471, allocations: 102.4 kB / 1.279 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.471, allocations: 5.031 kB / 1.279 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.471, allocations: 0.875 kB / 1.279 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002082/1.473, allocations: 0.8557 MB / 1.28 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006258/1.48, allocations: 1.795 MB / 1.282 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/1.48, allocations: 6.781 kB / 1.282 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.481, allocations: 137.6 kB / 1.282 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000362/1.481, allocations: 78.02 kB / 1.282 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/1.481, allocations: 12.97 kB / 1.282 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/1.484, allocations: 1.646 MB / 1.284 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.138e-06/1.484, allocations: 7.219 kB / 1.284 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/1.487, allocations: 1.094 MB / 1.285 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007324/1.488, allocations: 236.5 kB / 1.285 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.488, allocations: 11.38 kB / 1.285 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.489, allocations: 65.48 kB / 1.285 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.489, allocations: 49.67 kB / 1.285 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.592e-05/1.489, allocations: 28.45 kB / 1.285 GB, free: 10.53 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001028/1.49, allocations: 0.561 MB / 1.286 GB, free: 10.44 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.49, allocations: 1.094 kB / 1.286 GB, free: 10.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001527/1.492, allocations: 286.1 kB / 1.286 GB, free: 10.44 MB / 1.014 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.0005893/1.492, allocations: 198.5 kB / 1.286 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001566/1.494, allocations: 0.8035 MB / 1.287 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.494, allocations: 2.5 kB / 1.287 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006554/1.495, allocations: 417.7 kB / 1.288 GB, free: 9.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/1.499, allocations: 0.5941 MB / 1.288 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/1.502, allocations: 2.303 MB / 1.29 GB, free: 8.695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009141/1.503, allocations: 1.085 MB / 1.291 GB, free: 7.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/1.503, allocations: 75.83 kB / 1.291 GB, free: 7.973 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.503, allocations: 8.969 kB / 1.291 GB, free: 7.965 MB / 1.014 GB Notification: Performance of Templates: time 0.03474/1.538, allocations: 21.75 MB / 1.313 GB, free: 4.742 MB / 1.014 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T