Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001332/0.001332, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.56/2.56, allocations: 436.5 MB / 0.7104 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 0.8707 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6429, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1533/0.7963, allocations: 143.1 MB / 1.161 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006331/0.8026, allocations: 4.153 MB / 1.165 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.8034, allocations: 15.88 kB / 1.165 GB, free: 13.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009352/0.8043, allocations: 318.5 kB / 1.165 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.8071, allocations: 1.009 MB / 1.166 GB, free: 12.15 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.8093, allocations: 0.7721 MB / 1.167 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.8109, allocations: 0.9683 MB / 1.168 GB, free: 10.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000638/0.8116, allocations: 428.6 kB / 1.168 GB, free: 9.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.8126, allocations: 0.5334 MB / 1.169 GB, free: 9.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.8132, allocations: 354.6 kB / 1.169 GB, free: 9.105 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.8132, allocations: 24 kB / 1.169 GB, free: 9.082 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.8142, allocations: 363.4 kB / 1.169 GB, free: 8.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.8145, allocations: 207.5 kB / 1.169 GB, free: 8.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.8146, allocations: 165.4 kB / 1.17 GB, free: 8.355 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009206/0.8156, allocations: 0.8454 MB / 1.17 GB, free: 7.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.8156, allocations: 0 / 1.17 GB, free: 7.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8156, allocations: 0 / 1.17 GB, free: 7.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.8156, allocations: 0 / 1.17 GB, free: 7.508 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001727/0.8173, allocations: 0.8962 MB / 1.171 GB, free: 6.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.8174, allocations: 11.98 kB / 1.171 GB, free: 6.551 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.8185, allocations: 167 kB / 1.171 GB, free: 6.387 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.8193, allocations: 0.5019 MB / 1.172 GB, free: 5.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.8194, allocations: 41.3 kB / 1.172 GB, free: 5.801 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.8195, allocations: 52 kB / 1.172 GB, free: 5.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.8206, allocations: 0.6518 MB / 1.173 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.8206, allocations: 0 / 1.173 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/0.8207, allocations: 27.98 kB / 1.173 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.8207, allocations: 25.31 kB / 1.173 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000914/0.8217, allocations: 0.5204 MB / 1.173 GB, free: 4.512 MB / 0.92 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.003432/0.8251, allocations: 2.305 MB / 1.175 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.8256, allocations: 262.8 kB / 1.176 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.8257, allocations: 3.984 kB / 1.176 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.8257, allocations: 46.5 kB / 1.176 GB, free: 1.715 MB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.8257, allocations: 0 / 1.176 GB, free: 1.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.0017/0.8274, allocations: 0.6861 MB / 1.176 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.8275, allocations: 85.11 kB / 1.177 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.8281, allocations: 0.5496 MB / 1.177 GB, free: 324 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.8282, allocations: 29.7 kB / 1.177 GB, free: 288 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.8285, allocations: 335.3 kB / 1.177 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.8285, allocations: 70.98 kB / 1.177 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.8286, allocations: 4 kB / 1.177 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.8287, allocations: 366.8 kB / 1.178 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.829, allocations: 132.6 kB / 1.178 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.8293, allocations: 222.6 kB / 1.178 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.8296, allocations: 163.9 kB / 1.178 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8297, allocations: 4 kB / 1.178 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009378/0.8306, allocations: 0.5024 MB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8306, allocations: 4 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.8306, allocations: 4 kB / 1.179 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.831, allocations: 97.59 kB / 1.179 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.8313, allocations: 75.89 kB / 1.179 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.8344, allocations: 3.142 MB / 1.182 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.835, allocations: 63.48 kB / 1.182 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.835, allocations: 12 kB / 1.182 GB, free: 10.79 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000333/0.8354, allocations: 217.6 kB / 1.182 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.8355, allocations: 55.44 kB / 1.182 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.8356, allocations: 56.5 kB / 1.182 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8356, allocations: 4 kB / 1.182 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8356, allocations: 3.938 kB / 1.182 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000747/0.8363, allocations: 0.5438 MB / 1.183 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.8377, allocations: 0.9356 MB / 1.184 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.8377, allocations: 0 / 1.184 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.838, allocations: 47.97 kB / 1.184 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.8382, allocations: 64.88 kB / 1.184 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.8382, allocations: 4 kB / 1.184 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.8399, allocations: 1.714 MB / 1.186 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8399, allocations: 0 / 1.186 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.8406, allocations: 468.8 kB / 1.186 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.8409, allocations: 172.3 kB / 1.186 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.841, allocations: 4 kB / 1.186 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.8414, allocations: 39.95 kB / 1.186 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.8415, allocations: 15.97 kB / 1.186 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.8416, allocations: 16.36 kB / 1.186 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004732/0.8421, allocations: 394.8 kB / 1.187 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8421, allocations: 0 / 1.187 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007232/0.8428, allocations: 211.6 kB / 1.187 GB, free: 5.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003978/0.8432, allocations: 187.3 kB / 1.187 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009614/0.8442, allocations: 0.5263 MB / 1.188 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.8442, allocations: 4 kB / 1.188 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.8446, allocations: 255.2 kB / 1.188 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.8462, allocations: 355.3 kB / 1.188 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.8478, allocations: 1.191 MB / 1.189 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.8483, allocations: 0.9285 MB / 1.19 GB, free: 2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004487/0.8488, allocations: 104.8 kB / 1.19 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.8489, allocations: 43.38 kB / 1.19 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.8489, allocations: 0 / 1.19 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of Templates: time 0.02005/0.8689, allocations: 11.91 MB / 1.202 GB, free: 6.117 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches