Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.005777/0.005777, allocations: 100.7 kB / 15.87 MB, free: 6.305 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.00127/0.00127, allocations: 195.6 kB / 16.79 MB, free: 6.238 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 67.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8022, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1902/0.9924, allocations: 168.8 MB / 1.114 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007136/0.9996, allocations: 4.347 MB / 1.119 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000977/1.001, allocations: 23.88 kB / 1.119 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/1.002, allocations: 302.5 kB / 1.119 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003084/1.005, allocations: 1.159 MB / 1.12 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/1.007, allocations: 0.7235 MB / 1.121 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003042/1.01, allocations: 2.35 MB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009594/1.011, allocations: 487.1 kB / 1.124 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/1.013, allocations: 0.5913 MB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/1.014, allocations: 0.5773 MB / 1.125 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/1.015, allocations: 32 kB / 1.125 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/1.017, allocations: 0.9079 MB / 1.126 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004054/1.017, allocations: 243.3 kB / 1.126 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008859/1.018, allocations: 374.2 kB / 1.126 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/1.019, allocations: 0.9472 MB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.019, allocations: 0 / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/1.019, allocations: 0 / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.884e-05/1.019, allocations: 0 / 1.127 GB, free: 11.61 MB / 0.8887 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.002459/1.022, allocations: 1.029 MB / 1.128 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.022, allocations: 15.95 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.023, allocations: 167 kB / 1.128 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/1.024, allocations: 0.521 MB / 1.129 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/1.024, allocations: 41.25 kB / 1.129 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/1.024, allocations: 52 kB / 1.129 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.026, allocations: 0.6479 MB / 1.13 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/1.026, allocations: 0 / 1.13 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/1.026, allocations: 28 kB / 1.13 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/1.026, allocations: 29.3 kB / 1.13 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.027, allocations: 0.5125 MB / 1.13 GB, free: 8.461 MB / 0.8887 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.003818/1.031, allocations: 2.309 MB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/1.031, allocations: 250.8 kB / 1.133 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/1.032, allocations: 132.8 kB / 1.133 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/1.032, allocations: 11.92 kB / 1.133 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/1.032, allocations: 42.56 kB / 1.133 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/1.032, allocations: 0 / 1.133 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001764/1.033, allocations: 0.6795 MB / 1.133 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/1.034, allocations: 77.11 kB / 1.134 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/1.034, allocations: 0.5574 MB / 1.134 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/1.034, allocations: 33.7 kB / 1.134 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/1.035, allocations: 327.1 kB / 1.134 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/1.035, allocations: 78.98 kB / 1.135 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/1.035, allocations: 65.94 kB / 1.135 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.035, allocations: 370.7 kB / 1.135 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/1.035, allocations: 128.6 kB / 1.135 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/1.036, allocations: 218.5 kB / 1.135 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/1.036, allocations: 340.8 kB / 1.136 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.036, allocations: 0 / 1.136 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009801/1.037, allocations: 490.7 kB / 1.136 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.037, allocations: 5.406 kB / 1.136 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.037, allocations: 7.984 kB / 1.136 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003521/1.038, allocations: 101.6 kB / 1.136 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/1.038, allocations: 75.91 kB / 1.136 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/1.041, allocations: 3.099 MB / 1.139 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/1.042, allocations: 63.34 kB / 1.139 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/1.042, allocations: 16 kB / 1.139 GB, free: 14.4 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.000322/1.042, allocations: 222.8 kB / 1.14 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.042, allocations: 55.34 kB / 1.14 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/1.042, allocations: 52.69 kB / 1.14 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.042, allocations: 4 kB / 1.14 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.042, allocations: 7.938 kB / 1.14 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007757/1.043, allocations: 0.5267 MB / 1.14 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/1.045, allocations: 0.9195 MB / 1.141 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.045, allocations: 0 / 1.141 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/1.045, allocations: 39.97 kB / 1.141 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/1.045, allocations: 68.81 kB / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/1.045, allocations: 11.94 kB / 1.141 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/1.047, allocations: 1.679 MB / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.047, allocations: 0 / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/1.048, allocations: 443 kB / 1.143 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/1.048, allocations: 172.4 kB / 1.143 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/1.048, allocations: 4.188 kB / 1.143 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/1.049, allocations: 31.97 kB / 1.143 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/1.049, allocations: 23.83 kB / 1.143 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/1.049, allocations: 19.98 kB / 1.143 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004909/1.049, allocations: 398.8 kB / 1.144 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.049, allocations: 4 kB / 1.144 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000721/1.05, allocations: 207.6 kB / 1.144 GB, free: 9.223 MB / 0.9044 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.0003909/1.05, allocations: 155.9 kB / 1.144 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009347/1.051, allocations: 0.5283 MB / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.051, allocations: 0 / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/1.052, allocations: 254.5 kB / 1.145 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.053, allocations: 365.5 kB / 1.145 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/1.055, allocations: 1.252 MB / 1.147 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/1.056, allocations: 0.9054 MB / 1.147 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.056, allocations: 39.44 kB / 1.147 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of SimCode: time 8.02e-07/1.056, allocations: 0 / 1.147 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of Templates: time 0.01863/1.075, allocations: 13.42 MB / 1.161 GB, free: 8.328 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches