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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001536/0.001536, allocations: 103.8 kB / 16.37 MB, free: 6.441 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.001701/0.001701, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.379/2.379, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.91 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2628, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6043/0.8671, allocations: 171.1 MB / 1.186 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005926/0.8731, allocations: 4.292 MB / 1.19 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/0.8736, allocations: 21.75 kB / 1.19 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.8746, allocations: 354.5 kB / 1.19 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.8771, allocations: 1.22 MB / 1.192 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.8789, allocations: 0.7879 MB / 1.192 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.8807, allocations: 1.696 MB / 1.194 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000657/0.8814, allocations: 0.5658 MB / 1.195 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009324/0.8823, allocations: 0.6753 MB / 1.195 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.8834, allocations: 0.5544 MB / 1.196 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.8835, allocations: 62.88 kB / 1.196 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.8849, allocations: 0.799 MB / 1.197 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002794/0.8852, allocations: 275.3 kB / 1.197 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.8856, allocations: 406 kB / 1.197 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.8872, allocations: 1.263 MB / 1.198 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8873, allocations: 0 / 1.198 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8873, allocations: 7.875 kB / 1.198 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.8873, allocations: 0 / 1.198 GB, free: 11.55 MB / 0.9044 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.001648/0.8889, allocations: 1.034 MB / 1.2 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.889, allocations: 15.23 kB / 1.2 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/0.89, allocations: 163.5 kB / 1.2 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008111/0.8908, allocations: 0.5361 MB / 1.2 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.8908, allocations: 44.38 kB / 1.2 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.8909, allocations: 52.47 kB / 1.2 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.8919, allocations: 0.6522 MB / 1.201 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.8919, allocations: 0 / 1.201 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/0.892, allocations: 25.11 kB / 1.201 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.892, allocations: 26.31 kB / 1.201 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.8929, allocations: 0.515 MB / 1.201 GB, free: 9.504 MB / 0.9044 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.002988/0.8959, allocations: 2.29 MB / 1.204 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.8963, allocations: 253.5 kB / 1.204 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.8966, allocations: 130.3 kB / 1.204 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.8966, allocations: 8.562 kB / 1.204 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.8967, allocations: 45.47 kB / 1.204 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.8967, allocations: 0 / 1.204 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001556/0.8982, allocations: 0.6696 MB / 1.205 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.8983, allocations: 83.23 kB / 1.205 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.8988, allocations: 0.5585 MB / 1.205 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.8989, allocations: 28.52 kB / 1.205 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.8991, allocations: 336.5 kB / 1.206 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.8992, allocations: 73.38 kB / 1.206 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.8993, allocations: 69.19 kB / 1.206 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8994, allocations: 367.1 kB / 1.206 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.8997, allocations: 130.4 kB / 1.206 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.9, allocations: 207.3 kB / 1.207 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.9005, allocations: 341.7 kB / 1.207 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9005, allocations: 0 / 1.207 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008258/0.9013, allocations: 498.4 kB / 1.207 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9013, allocations: 7.562 kB / 1.207 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9013, allocations: 0 / 1.207 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/0.9016, allocations: 97.17 kB / 1.207 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.9019, allocations: 65.28 kB / 1.208 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.9046, allocations: 3.352 MB / 1.211 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.9051, allocations: 54.62 kB / 1.211 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.9051, allocations: 13.55 kB / 1.211 GB, free: 1.625 MB / 0.9044 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.0002375/0.9054, allocations: 220.5 kB / 1.211 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.9055, allocations: 57.66 kB / 1.211 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.9056, allocations: 55.56 kB / 1.211 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9056, allocations: 9.094 kB / 1.211 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.9056, allocations: 0 / 1.211 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000651/0.9062, allocations: 0.5286 MB / 1.212 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.9074, allocations: 0.9305 MB / 1.213 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9074, allocations: 0 / 1.213 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.9076, allocations: 37.11 kB / 1.213 GB, free: 172 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.9078, allocations: 69.45 kB / 1.213 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.9079, allocations: 0 / 1.213 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.9094, allocations: 1.825 MB / 1.215 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.9094, allocations: 0 / 1.215 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.91, allocations: 441.3 kB / 1.215 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.9102, allocations: 170.2 kB / 1.215 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.9103, allocations: 14.62 kB / 1.215 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.9107, allocations: 19.47 kB / 1.215 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.9108, allocations: 18.36 kB / 1.215 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.9109, allocations: 15.8 kB / 1.215 GB, free: 13.93 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003949/0.9113, allocations: 403.6 kB / 1.216 GB, free: 13.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9113, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005848/0.9119, allocations: 194.7 kB / 1.216 GB, free: 13.68 MB / 0.92 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.0003234/0.9122, allocations: 158.1 kB / 1.216 GB, free: 13.56 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007997/0.913, allocations: 0.5273 MB / 1.216 GB, free: 13.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.913, allocations: 1.969 kB / 1.216 GB, free: 13.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.9134, allocations: 261.8 kB / 1.217 GB, free: 12.99 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.9148, allocations: 378.5 kB / 1.217 GB, free: 12.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.9162, allocations: 0.9825 MB / 1.218 GB, free: 11.88 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.9166, allocations: 0.9093 MB / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003409/0.917, allocations: 112.8 kB / 1.219 GB, free: 10.83 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.917, allocations: 39.44 kB / 1.219 GB, free: 10.8 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.9171, allocations: 0 / 1.219 GB, free: 10.8 MB / 0.92 GB Notification: Performance of Templates: time 0.01906/0.9361, allocations: 13.01 MB / 1.232 GB, free: 14 MB / 0.9356 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches