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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.47/2.47, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 175.8 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.786/1.786, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 99.52 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.846e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3836, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.955/6.339, allocations: 1.919 GB / 3.132 GB, free: 410.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/6.339, allocations: 87.95 kB / 3.132 GB, free: 410.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.647/7.986, allocations: 460.6 MB / 3.581 GB, free: 297 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.492e-06/7.986, allocations: 6.906 kB / 3.581 GB, free: 297 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.633e-05/7.986, allocations: 32.17 kB / 3.582 GB, free: 297 MB / 1.151 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.002719/7.989, allocations: 1.246 MB / 3.583 GB, free: 296.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/7.989, allocations: 10.19 kB / 3.583 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/7.991, allocations: 307.1 kB / 3.583 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/7.993, allocations: 0.8539 MB / 3.584 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/7.993, allocations: 31.72 kB / 3.584 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/7.993, allocations: 48.88 kB / 3.584 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/7.994, allocations: 0.71 MB / 3.585 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/7.996, allocations: 0.8212 MB / 3.585 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/7.996, allocations: 6.734 kB / 3.585 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/7.996, allocations: 3.875 kB / 3.585 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/7.996, allocations: 34 kB / 3.585 GB, free: 296 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004852/8.001, allocations: 3.266 MB / 3.589 GB, free: 294.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/8.001, allocations: 445.7 kB / 3.589 GB, free: 294.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/8.002, allocations: 244 kB / 3.589 GB, free: 294.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/8.002, allocations: 101.4 kB / 3.589 GB, free: 294.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/8.002, allocations: 47.88 kB / 3.589 GB, free: 294.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/8.002, allocations: 0 / 3.589 GB, free: 294.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.002749/8.005, allocations: 1.33 MB / 3.591 GB, free: 294.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/8.005, allocations: 54.72 kB / 3.591 GB, free: 294.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/8.005, allocations: 0.5204 MB / 3.591 GB, free: 294 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/8.005, allocations: 25.7 kB / 3.591 GB, free: 294 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/8.006, allocations: 483.4 kB / 3.592 GB, free: 293.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/8.006, allocations: 173 kB / 3.592 GB, free: 293.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/8.006, allocations: 0 / 3.592 GB, free: 293.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001091/8.006, allocations: 379.5 kB / 3.592 GB, free: 293.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/8.006, allocations: 203.4 kB / 3.593 GB, free: 293.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/8.006, allocations: 315.4 kB / 3.593 GB, free: 293.3 MB / 1.151 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.002479/8.009, allocations: 0.934 MB / 3.594 GB, free: 293.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/8.009, allocations: 0 / 3.594 GB, free: 293.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001213/8.01, allocations: 0.6876 MB / 3.594 GB, free: 293.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/8.01, allocations: 8.125 kB / 3.594 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/8.01, allocations: 3.375 kB / 3.594 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/8.011, allocations: 90.28 kB / 3.595 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/8.012, allocations: 127.9 kB / 3.595 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/8.014, allocations: 2.812 MB / 3.597 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/8.016, allocations: 54.69 kB / 3.597 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/8.016, allocations: 21.72 kB / 3.597 GB, free: 290.7 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002815/8.016, allocations: 121.3 kB / 3.598 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/8.017, allocations: 73.75 kB / 3.598 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/8.017, allocations: 87.61 kB / 3.598 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/8.017, allocations: 6.375 kB / 3.598 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/8.017, allocations: 0 / 3.598 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008941/8.018, allocations: 0.7804 MB / 3.598 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/8.02, allocations: 1.572 MB / 3.6 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/8.02, allocations: 3.906 kB / 3.6 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/8.021, allocations: 116.6 kB / 3.6 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/8.021, allocations: 63.64 kB / 3.6 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/8.021, allocations: 6.312 kB / 3.6 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/8.022, allocations: 1.529 MB / 3.602 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/8.022, allocations: 9.156 kB / 3.602 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/8.024, allocations: 1.096 MB / 3.603 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/8.024, allocations: 213.6 kB / 3.603 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/8.024, allocations: 5.844 kB / 3.603 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/8.025, allocations: 53.53 kB / 3.603 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/8.025, allocations: 50.09 kB / 3.603 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/8.025, allocations: 28.48 kB / 3.603 GB, free: 287.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004676/8.025, allocations: 403.8 kB / 3.604 GB, free: 287.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.026, allocations: 0 / 3.604 GB, free: 287.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00149/8.027, allocations: 373.7 kB / 3.604 GB, free: 287.7 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001875/8.029, allocations: 1.414 MB / 3.605 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001137/8.03, allocations: 0.7052 MB / 3.606 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/8.03, allocations: 0 / 3.606 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004166/8.03, allocations: 351 kB / 3.606 GB, free: 287.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/8.033, allocations: 466 kB / 3.607 GB, free: 287 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/8.035, allocations: 1.32 MB / 3.608 GB, free: 286.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/8.036, allocations: 1.107 MB / 3.609 GB, free: 285.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009018/8.037, allocations: 183.7 kB / 3.609 GB, free: 285.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/8.037, allocations: 63.67 kB / 3.609 GB, free: 285.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.354e-06/8.037, allocations: 0 / 3.609 GB, free: 285.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03776/8.075, allocations: 22.17 MB / 3.631 GB, free: 285 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches