Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001503/0.001503, allocations: 108 kB / 15.61 MB, free: 152 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.002344/0.002344, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6336/0.635, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1656/0.8006, allocations: 171.1 MB / 1.184 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006363/0.807, allocations: 4.298 MB / 1.189 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.8077, allocations: 27.88 kB / 1.189 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000945/0.8087, allocations: 342 kB / 1.189 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.8114, allocations: 1.225 MB / 1.19 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.8135, allocations: 0.7931 MB / 1.191 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.8154, allocations: 1.689 MB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007455/0.8162, allocations: 0.5659 MB / 1.193 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.8173, allocations: 0.6849 MB / 1.194 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.8183, allocations: 0.5383 MB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.8185, allocations: 64 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.82, allocations: 0.7989 MB / 1.195 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.8203, allocations: 275.2 kB / 1.195 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.8207, allocations: 406.3 kB / 1.196 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.8222, allocations: 1.254 MB / 1.197 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8222, allocations: 0 / 1.197 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8222, allocations: 3.938 kB / 1.197 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8223, allocations: 0 / 1.197 GB, free: 9.773 MB / 0.9512 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.001681/0.8239, allocations: 1.036 MB / 1.198 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.824, allocations: 8.031 kB / 1.198 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00099/0.825, allocations: 171 kB / 1.198 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007084/0.8257, allocations: 0.521 MB / 1.199 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.8257, allocations: 37.31 kB / 1.199 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.8258, allocations: 52 kB / 1.199 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.8268, allocations: 0.6518 MB / 1.199 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.8269, allocations: 4 kB / 1.199 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.8269, allocations: 20 kB / 1.199 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.827, allocations: 29.3 kB / 1.199 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008791/0.8279, allocations: 0.5125 MB / 1.2 GB, free: 6.633 MB / 0.9512 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.003046/0.8309, allocations: 2.313 MB / 1.202 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.8314, allocations: 260.5 kB / 1.202 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.8317, allocations: 134.2 kB / 1.203 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.8317, allocations: 11.92 kB / 1.203 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.8318, allocations: 38.56 kB / 1.203 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.8318, allocations: 0 / 1.203 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001613/0.8334, allocations: 0.6665 MB / 1.203 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.8334, allocations: 81.11 kB / 1.203 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.834, allocations: 0.5613 MB / 1.204 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.8341, allocations: 29.7 kB / 1.204 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.8343, allocations: 335.1 kB / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.8344, allocations: 66.95 kB / 1.204 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.8345, allocations: 73.92 kB / 1.204 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8346, allocations: 362.7 kB / 1.205 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.8349, allocations: 132.6 kB / 1.205 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.8352, allocations: 218.6 kB / 1.205 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.8357, allocations: 328.4 kB / 1.205 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8357, allocations: 0 / 1.205 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008732/0.8366, allocations: 0.4945 MB / 1.206 GB, free: 204 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.8366, allocations: 9.406 kB / 1.206 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8367, allocations: 288 / 1.206 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.837, allocations: 97.66 kB / 1.206 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.8373, allocations: 71.89 kB / 1.206 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.8401, allocations: 3.352 MB / 1.209 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.8406, allocations: 55.45 kB / 1.209 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.8406, allocations: 8 kB / 1.209 GB, free: 12.33 MB / 0.9669 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 (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,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002715/0.8409, allocations: 217.7 kB / 1.21 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.841, allocations: 55.34 kB / 1.21 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.8411, allocations: 52.5 kB / 1.21 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8411, allocations: 8 kB / 1.21 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8411, allocations: 3.938 kB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006893/0.8418, allocations: 0.5306 MB / 1.21 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.843, allocations: 0.92 MB / 1.211 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8431, allocations: 0 / 1.211 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.8433, allocations: 43.91 kB / 1.211 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.8435, allocations: 68.8 kB / 1.211 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.8435, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.8451, allocations: 1.832 MB / 1.213 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8451, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.8457, allocations: 435.1 kB / 1.213 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.8459, allocations: 172.4 kB / 1.214 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.846, allocations: 7.938 kB / 1.214 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.8464, allocations: 21.61 kB / 1.214 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.8465, allocations: 23.91 kB / 1.214 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.8465, allocations: 15.98 kB / 1.214 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004305/0.847, allocations: 398.8 kB / 1.214 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.847, allocations: 0 / 1.214 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006293/0.8476, allocations: 203.7 kB / 1.214 GB, free: 7.027 MB / 0.9669 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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003418/0.848, allocations: 161.7 kB / 1.214 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008796/0.8489, allocations: 0.5365 MB / 1.215 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8489, allocations: 4.125 kB / 1.215 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.8492, allocations: 259.5 kB / 1.215 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.8509, allocations: 374.9 kB / 1.215 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.8524, allocations: 0.9984 MB / 1.216 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.8528, allocations: 0.9015 MB / 1.217 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004257/0.8533, allocations: 108.8 kB / 1.217 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.8533, allocations: 47.42 kB / 1.217 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.8534, allocations: 0 / 1.217 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of Templates: time 0.02364/0.877, allocations: 13.01 MB / 1.23 GB, free: 6.766 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches