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.001188/0.001188, allocations: 100.1 kB / 15.88 MB, free: 12 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.001436/0.001436, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 70.88 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3859, allocations: 157.4 MB / 1.053 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2178/0.6037, allocations: 188.4 MB / 1.237 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.6143, allocations: 5.798 MB / 1.242 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.6162, allocations: 39.75 kB / 1.242 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.618, allocations: 0.4974 MB / 1.243 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004823/0.6228, allocations: 1.742 MB / 1.245 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.6259, allocations: 1.08 MB / 1.246 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7248/1.351, allocations: 4.086 MB / 1.25 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/1.352, allocations: 0.7961 MB / 1.25 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/1.355, allocations: 0.9 MB / 1.251 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/1.357, allocations: 0.9474 MB / 1.252 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/1.357, allocations: 52.81 kB / 1.252 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/1.361, allocations: 1.633 MB / 1.254 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007052/1.362, allocations: 408 kB / 1.254 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/1.363, allocations: 0.5974 MB / 1.255 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002536/1.365, allocations: 1.596 MB / 1.256 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/1.365, allocations: 0 / 1.256 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.365, allocations: 4 kB / 1.256 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.528e-05/1.365, allocations: 0 / 1.256 GB, free: 4.23 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.003155/1.368, allocations: 1.516 MB / 1.258 GB, free: 19.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.368, allocations: 9.266 kB / 1.258 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/1.371, allocations: 318.6 kB / 1.258 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/1.372, allocations: 0.8076 MB / 1.259 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/1.372, allocations: 63.16 kB / 1.259 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.372, allocations: 88.75 kB / 1.259 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/1.374, allocations: 0.9145 MB / 1.26 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.374, allocations: 3.906 kB / 1.26 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/1.374, allocations: 36.47 kB / 1.26 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/1.374, allocations: 34.17 kB / 1.26 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/1.375, allocations: 0.8264 MB / 1.261 GB, free: 19.04 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.006333/1.382, allocations: 3.529 MB / 1.264 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/1.383, allocations: 0.4919 MB / 1.265 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/1.383, allocations: 297.5 kB / 1.265 GB, free: 17.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/1.384, allocations: 101.3 kB / 1.265 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/1.384, allocations: 44.98 kB / 1.265 GB, free: 17.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 4.278e-06/1.384, allocations: 0 / 1.265 GB, free: 17.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.004692/1.388, allocations: 1.918 MB / 1.267 GB, free: 16.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/1.388, allocations: 56.94 kB / 1.267 GB, free: 16.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.39, allocations: 0.8041 MB / 1.268 GB, free: 16.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/1.39, allocations: 42.61 kB / 1.268 GB, free: 16.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/1.39, allocations: 472.8 kB / 1.268 GB, free: 16.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/1.39, allocations: 174 kB / 1.269 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/1.391, allocations: 111.3 kB / 1.269 GB, free: 16.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.391, allocations: 334.3 kB / 1.269 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/1.391, allocations: 241.6 kB / 1.269 GB, free: 15.99 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/1.392, allocations: 356.5 kB / 1.27 GB, free: 15.89 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.004227/1.396, allocations: 1.531 MB / 1.271 GB, free: 15.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.396, allocations: 1.156 kB / 1.271 GB, free: 15.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001616/1.398, allocations: 0.7848 MB / 1.272 GB, free: 15.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.398, allocations: 6.719 kB / 1.272 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.398, allocations: 2.25 kB / 1.272 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/1.398, allocations: 98.44 kB / 1.272 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/1.399, allocations: 144.2 kB / 1.272 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/1.402, allocations: 3.068 MB / 1.275 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.403, allocations: 57.53 kB / 1.275 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/1.403, allocations: 25.3 kB / 1.275 GB, free: 13 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 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.0006119/1.404, allocations: 294 kB / 1.275 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.404, allocations: 101.6 kB / 1.276 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/1.404, allocations: 100.5 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.404, allocations: 9.188 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.404, allocations: 2.531 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/1.405, allocations: 0.838 MB / 1.276 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/1.409, allocations: 1.783 MB / 1.278 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.409, allocations: 3.438 kB / 1.278 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/1.409, allocations: 134.9 kB / 1.278 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/1.409, allocations: 67.7 kB / 1.278 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/1.41, allocations: 19.27 kB / 1.278 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.411, allocations: 1.651 MB / 1.28 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.411, allocations: 7.688 kB / 1.28 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/1.413, allocations: 1.071 MB / 1.281 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/1.413, allocations: 234.1 kB / 1.281 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/1.414, allocations: 17.83 kB / 1.281 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/1.414, allocations: 67.77 kB / 1.281 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.414, allocations: 47.17 kB / 1.281 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/1.415, allocations: 27.02 kB / 1.281 GB, free: 10.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008403/1.415, allocations: 0.5645 MB / 1.282 GB, free: 10.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.415, allocations: 1.375 kB / 1.282 GB, free: 10.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00115/1.417, allocations: 284.6 kB / 1.282 GB, free: 10.1 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.0005036/1.417, allocations: 187.1 kB / 1.282 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001487/1.419, allocations: 0.7881 MB / 1.283 GB, free: 9.781 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.419, allocations: 2.391 kB / 1.283 GB, free: 9.781 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006321/1.419, allocations: 417.4 kB / 1.284 GB, free: 9.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/1.422, allocations: 0.5829 MB / 1.284 GB, free: 9.629 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/1.426, allocations: 2.245 MB / 1.286 GB, free: 8.402 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007894/1.427, allocations: 1.085 MB / 1.287 GB, free: 7.684 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/1.427, allocations: 67.97 kB / 1.288 GB, free: 7.68 MB / 1.014 GB Notification: Performance of SimCode: time 1.272e-06/1.427, allocations: 0 / 1.288 GB, free: 7.68 MB / 1.014 GB Notification: Performance of Templates: time 0.03335/1.46, allocations: 21.9 MB / 1.309 GB, free: 5.473 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