Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002452/0.002452, allocations: 165.5 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.897/2.897, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.778e-05, allocations: 6.219 kB / 0.9814 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.8547/0.8548, allocations: 150.9 MB / 1.129 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00727/0.862, allocations: 4.049 MB / 1.133 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.8633, allocations: 27.09 kB / 1.133 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.8644, allocations: 336.9 kB / 1.133 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.8685, allocations: 1.32 MB / 1.134 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.8709, allocations: 0.8336 MB / 1.135 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.8739, allocations: 1.752 MB / 1.137 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009811/0.8749, allocations: 445.6 kB / 1.137 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.8774, allocations: 0.9928 MB / 1.138 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.8791, allocations: 0.5142 MB / 1.139 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.8792, allocations: 68.12 kB / 1.139 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.8812, allocations: 0.6707 MB / 1.139 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.8816, allocations: 296.7 kB / 1.14 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005558/0.8821, allocations: 297.6 kB / 1.14 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.8848, allocations: 1.292 MB / 1.141 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.8848, allocations: 0 / 1.141 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8848, allocations: 1.156 kB / 1.141 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.8848, allocations: 4 kB / 1.141 GB, free: 13.16 MB / 0.9981 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.002075/0.8869, allocations: 0.9658 MB / 1.142 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.887, allocations: 15 kB / 1.142 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.8881, allocations: 168.3 kB / 1.142 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000977/0.8891, allocations: 486.6 kB / 1.143 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.8892, allocations: 41.02 kB / 1.143 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.8892, allocations: 50.72 kB / 1.143 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.8907, allocations: 1.011 MB / 1.144 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.8907, allocations: 0 / 1.144 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.429e-05/0.8908, allocations: 28.58 kB / 1.144 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.8908, allocations: 23.41 kB / 1.144 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.8918, allocations: 0.5082 MB / 1.145 GB, free: 11.86 MB / 0.9981 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.003294/0.8951, allocations: 1.555 MB / 1.146 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.8957, allocations: 243.9 kB / 1.146 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.8959, allocations: 124.2 kB / 1.146 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.896, allocations: 3.781 kB / 1.146 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.896, allocations: 43.55 kB / 1.146 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.896, allocations: 7.938 kB / 1.146 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001775/0.8978, allocations: 0.5054 MB / 1.147 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.8978, allocations: 83.48 kB / 1.147 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.8983, allocations: 440.8 kB / 1.147 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.8984, allocations: 36.91 kB / 1.147 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.8986, allocations: 349.9 kB / 1.148 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.8986, allocations: 74.95 kB / 1.148 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.8988, allocations: 69.44 kB / 1.148 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.8988, allocations: 349.1 kB / 1.148 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.8991, allocations: 129.5 kB / 1.148 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.8994, allocations: 244.2 kB / 1.149 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.9, allocations: 336.7 kB / 1.149 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9, allocations: 1.406 kB / 1.149 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009874/0.9009, allocations: 493.6 kB / 1.149 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.901, allocations: 6.125 kB / 1.149 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.901, allocations: 1.406 kB / 1.149 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.9013, allocations: 95.97 kB / 1.15 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.9017, allocations: 73.27 kB / 1.15 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.9043, allocations: 3.066 MB / 1.153 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.9049, allocations: 40.47 kB / 1.153 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.9049, allocations: 15.81 kB / 1.153 GB, free: 7.676 MB / 0.9981 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.000381/0.9053, allocations: 218.5 kB / 1.153 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.9054, allocations: 45.39 kB / 1.153 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.9055, allocations: 47.39 kB / 1.153 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9055, allocations: 5.562 kB / 1.153 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9055, allocations: 1.469 kB / 1.153 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006886/0.9062, allocations: 0.5257 MB / 1.153 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.9074, allocations: 0.751 MB / 1.154 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9074, allocations: 3.812 kB / 1.154 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.9077, allocations: 41.89 kB / 1.154 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/0.9079, allocations: 65.36 kB / 1.154 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.9079, allocations: 9.641 kB / 1.154 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.9095, allocations: 1.697 MB / 1.156 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9095, allocations: 5.156 kB / 1.156 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/0.9102, allocations: 427.8 kB / 1.156 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.9104, allocations: 79.45 kB / 1.156 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.9105, allocations: 4.906 kB / 1.156 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.9109, allocations: 19.61 kB / 1.156 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.911, allocations: 16.83 kB / 1.156 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.9111, allocations: 22.05 kB / 1.157 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003673/0.9114, allocations: 302.6 kB / 1.157 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.9114, allocations: 0 / 1.157 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008574/0.9123, allocations: 220.1 kB / 1.157 GB, free: 5.359 MB / 0.9981 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.0003043/0.9126, allocations: 149.1 kB / 1.157 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009918/0.9136, allocations: 0.5179 MB / 1.158 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9136, allocations: 2.469 kB / 1.158 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.914, allocations: 256.9 kB / 1.158 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.9153, allocations: 272.3 kB / 1.158 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.9172, allocations: 0.9447 MB / 1.159 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.9175, allocations: 314 kB / 1.159 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003977/0.9179, allocations: 96.19 kB / 1.159 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/0.918, allocations: 33.56 kB / 1.16 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.918, allocations: 3.938 kB / 1.16 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of Templates: time 0.02016/0.9382, allocations: 10.53 MB / 1.17 GB, free: 3.098 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.519561018794775]