Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001887/0.001887, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002529/0.002529, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.515/1.515, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.265/3.265, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0.5469 kB / 0.8776 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.606e-05, allocations: 2.844 kB / 0.8776 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7027/0.7027, allocations: 150.8 MB / 1.025 GB, free: 17.04 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.005759/0.7084, allocations: 4.035 MB / 1.029 GB, free: 17 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.709, allocations: 31.16 kB / 1.029 GB, free: 17 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008945/0.7099, allocations: 331.4 kB / 1.029 GB, free: 16.99 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.7122, allocations: 1.075 MB / 1.03 GB, free: 16.95 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.7144, allocations: 0.845 MB / 1.031 GB, free: 16.93 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001796/0.7161, allocations: 1.33 MB / 1.032 GB, free: 16.93 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.7167, allocations: 391.2 kB / 1.033 GB, free: 16.91 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.7183, allocations: 0.9006 MB / 1.034 GB, free: 16.9 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.7194, allocations: 426.6 kB / 1.034 GB, free: 16.9 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.7195, allocations: 51.25 kB / 1.034 GB, free: 16.9 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.721, allocations: 0.7602 MB / 1.035 GB, free: 16.89 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.7213, allocations: 232.4 kB / 1.035 GB, free: 16.89 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.7216, allocations: 233.1 kB / 1.035 GB, free: 16.89 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.7234, allocations: 1.179 MB / 1.036 GB, free: 16.82 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7234, allocations: 1.312 kB / 1.036 GB, free: 16.82 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7234, allocations: 2.469 kB / 1.036 GB, free: 16.82 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.7234, allocations: 0 / 1.036 GB, free: 16.82 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001593/0.725, allocations: 0.8893 MB / 1.037 GB, free: 16.31 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.725, allocations: 11.03 kB / 1.037 GB, free: 16.31 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.7268, allocations: 320 kB / 1.038 GB, free: 16.26 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.7276, allocations: 461 kB / 1.038 GB, free: 16.07 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.7277, allocations: 31.25 kB / 1.038 GB, free: 16.07 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.7277, allocations: 47.16 kB / 1.038 GB, free: 16.07 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.729, allocations: 0.8907 MB / 1.039 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.729, allocations: 0.9375 kB / 1.039 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.7291, allocations: 19.7 kB / 1.039 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.7291, allocations: 21.5 kB / 1.039 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.7305, allocations: 0.5464 MB / 1.04 GB, free: 15.64 MB / 0.9323 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.003622/0.7341, allocations: 1.799 MB / 1.041 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.7351, allocations: 279.6 kB / 1.042 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.7356, allocations: 162.6 kB / 1.042 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.7356, allocations: 5.031 kB / 1.042 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.7356, allocations: 40.75 kB / 1.042 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 1.512e-06/0.7356, allocations: 0.9375 kB / 1.042 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.00522/0.7409, allocations: 1.012 MB / 1.043 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.7409, allocations: 81.06 kB / 1.043 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.7413, allocations: 425.4 kB / 1.043 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.7414, allocations: 32.05 kB / 1.043 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.7415, allocations: 317.7 kB / 1.044 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.7416, allocations: 40.64 kB / 1.044 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.7417, allocations: 63.78 kB / 1.044 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.7418, allocations: 347.2 kB / 1.044 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006277/0.7424, allocations: 193.9 kB / 1.044 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/0.743, allocations: 295.9 kB / 1.044 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.7442, allocations: 403.4 kB / 1.045 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.7442, allocations: 0 / 1.045 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002726/0.7469, allocations: 0.7326 MB / 1.046 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7469, allocations: 7.562 kB / 1.046 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.7469, allocations: 3.406 kB / 1.046 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.749, allocations: 380.1 kB / 1.046 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.7494, allocations: 73.97 kB / 1.046 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003713/0.7531, allocations: 2.089 MB / 1.048 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.7537, allocations: 58.45 kB / 1.048 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.7538, allocations: 9.391 kB / 1.048 GB, free: 12.52 MB / 0.9323 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.7541, allocations: 200.5 kB / 1.048 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.7542, allocations: 41.8 kB / 1.048 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.611e-05/0.7543, allocations: 44.47 kB / 1.048 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7543, allocations: 4.812 kB / 1.048 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.7543, allocations: 1.625 kB / 1.048 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7543, allocations: 2.406 kB / 1.048 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.7574, allocations: 1.001 MB / 1.049 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7574, allocations: 4.734 kB / 1.049 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.7576, allocations: 38.91 kB / 1.049 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/0.7595, allocations: 377.3 kB / 1.05 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.7595, allocations: 3.938 kB / 1.05 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.7628, allocations: 2.038 MB / 1.052 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.7628, allocations: 1.344 kB / 1.052 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.7653, allocations: 0.6941 MB / 1.052 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.7656, allocations: 82.44 kB / 1.053 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.7656, allocations: 8.188 kB / 1.053 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.7662, allocations: 48.36 kB / 1.053 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.7663, allocations: 12.14 kB / 1.053 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.7663, allocations: 14.73 kB / 1.053 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003415/0.7667, allocations: 289.7 kB / 1.053 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.7667, allocations: 0.9062 kB / 1.053 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007769/0.7675, allocations: 195.1 kB / 1.053 GB, free: 10.58 MB / 0.9323 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003474/0.7678, allocations: 166.1 kB / 1.053 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.7694, allocations: 0.5179 MB / 1.054 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7694, allocations: 3.547 kB / 1.054 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006909/0.7701, allocations: 302.1 kB / 1.054 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.7711, allocations: 205 kB / 1.054 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.7743, allocations: 1.04 MB / 1.055 GB, free: 9.801 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.7747, allocations: 257.2 kB / 1.055 GB, free: 9.711 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003901/0.775, allocations: 87.58 kB / 1.056 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.7751, allocations: 34.53 kB / 1.056 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of SimCode: time 5.51e-07/0.7751, allocations: 1.156 kB / 1.056 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of Templates: time 0.0156/0.7907, allocations: 9.687 MB / 1.065 GB, free: 8.707 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.220652065007016]