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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001433/0.001433, allocations: 105.2 kB / 16.27 MB, free: 5.984 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.001436/0.001436, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.55/2.55, allocations: 469.4 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.83 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3344, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.7692/1.104, allocations: 190.6 MB / 1.25 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01/1.114, allocations: 5.73 MB / 1.256 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/1.116, allocations: 43.75 kB / 1.256 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/1.118, allocations: 0.5825 MB / 1.257 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006089/1.124, allocations: 1.838 MB / 1.258 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/1.128, allocations: 1.178 MB / 1.259 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004087/1.132, allocations: 2.94 MB / 1.262 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/1.133, allocations: 0.9606 MB / 1.263 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/1.136, allocations: 1.039 MB / 1.264 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/1.138, allocations: 0.9041 MB / 1.265 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003125/1.138, allocations: 116 kB / 1.265 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/1.142, allocations: 1.426 MB / 1.267 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006486/1.143, allocations: 466.8 kB / 1.267 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/1.144, allocations: 0.6534 MB / 1.268 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/1.148, allocations: 2.115 MB / 1.27 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.148, allocations: 0 / 1.27 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.715e-06/1.148, allocations: 0 / 1.27 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.505e-05/1.148, allocations: 0 / 1.27 GB, free: 6.551 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.002904/1.151, allocations: 1.52 MB / 1.271 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.151, allocations: 12.62 kB / 1.271 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/1.153, allocations: 318.3 kB / 1.272 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/1.154, allocations: 0.8123 MB / 1.272 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/1.155, allocations: 62 kB / 1.273 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.155, allocations: 80 kB / 1.273 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/1.156, allocations: 0.9208 MB / 1.273 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/1.156, allocations: 0 / 1.273 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/1.156, allocations: 39.98 kB / 1.274 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/1.157, allocations: 38 kB / 1.274 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/1.158, allocations: 0.8237 MB / 1.274 GB, free: 1.832 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.005985/1.164, allocations: 3.544 MB / 1.278 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/1.165, allocations: 0.497 MB / 1.278 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/1.165, allocations: 298.5 kB / 1.279 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/1.165, allocations: 97.53 kB / 1.279 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/1.166, allocations: 43 kB / 1.279 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 3.006e-06/1.166, allocations: 0 / 1.279 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004384/1.17, allocations: 1.923 MB / 1.281 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/1.17, allocations: 63.84 kB / 1.281 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.171, allocations: 0.8019 MB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/1.171, allocations: 37.7 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/1.172, allocations: 475.3 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/1.172, allocations: 177.5 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.172, allocations: 110.2 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.172, allocations: 329.9 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/1.173, allocations: 249.9 kB / 1.283 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/1.173, allocations: 349.3 kB / 1.283 GB, free: 8.453 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.003776/1.177, allocations: 1.542 MB / 1.285 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.177, allocations: 4 kB / 1.285 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00148/1.178, allocations: 0.7806 MB / 1.285 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.178, allocations: 4.344 kB / 1.285 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.178, allocations: 8 kB / 1.285 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/1.179, allocations: 102.5 kB / 1.285 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/1.18, allocations: 139.8 kB / 1.286 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/1.183, allocations: 3.297 MB / 1.289 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.184, allocations: 31.92 kB / 1.289 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/1.184, allocations: 23.94 kB / 1.289 GB, free: 2.172 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.0006401/1.185, allocations: 301.7 kB / 1.289 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/1.185, allocations: 90.97 kB / 1.289 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/1.185, allocations: 100.7 kB / 1.289 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.185, allocations: 11.94 kB / 1.289 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.185, allocations: 192 / 1.289 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/1.186, allocations: 0.8427 MB / 1.29 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/1.189, allocations: 1.802 MB / 1.292 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/1.189, allocations: 4 kB / 1.292 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/1.19, allocations: 132.2 kB / 1.292 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/1.19, allocations: 68.81 kB / 1.292 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/1.19, allocations: 11.98 kB / 1.292 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/1.192, allocations: 1.789 MB / 1.294 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.192, allocations: 8.25 kB / 1.294 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/1.194, allocations: 1.068 MB / 1.295 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/1.194, allocations: 243.9 kB / 1.295 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.194, allocations: 20 kB / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/1.195, allocations: 31.78 kB / 1.295 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/1.195, allocations: 43.83 kB / 1.295 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/1.195, allocations: 32.05 kB / 1.295 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007175/1.196, allocations: 0.5615 MB / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.196, allocations: 3.938 kB / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008955/1.197, allocations: 284 kB / 1.296 GB, free: 10.34 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.0004854/1.197, allocations: 188.8 kB / 1.296 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001718/1.199, allocations: 0.8595 MB / 1.297 GB, free: 9.266 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.199, allocations: 12 kB / 1.297 GB, free: 9.254 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/1.199, allocations: 402.3 kB / 1.298 GB, free: 8.848 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.202, allocations: 0.6141 MB / 1.298 GB, free: 8.258 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/1.206, allocations: 1.877 MB / 1.3 GB, free: 6.301 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/1.206, allocations: 1.084 MB / 1.301 GB, free: 5.188 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/1.207, allocations: 71.42 kB / 1.301 GB, free: 5.117 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.207, allocations: 4 kB / 1.301 GB, free: 5.113 MB / 1.014 GB Notification: Performance of Templates: time 0.02901/1.236, allocations: 21.89 MB / 1.322 GB, free: 15.33 MB / 1.045 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