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.001879/0.001879, allocations: 85.48 kB / 19.44 MB, free: 340 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.002019/0.002019, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.395/3.395, allocations: 429.5 MB / 0.6729 GB, free: 4.023 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.613e-06/1.613e-06, allocations: 0.6562 kB / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.484e-05/3.645e-05, allocations: 3.219 kB / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.252/0.252, allocations: 167.3 MB / 1.041 GB, free: 14.8 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.009258/0.2613, allocations: 4.371 MB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009061/0.2622, allocations: 27.75 kB / 1.045 GB, free: 10.39 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.2636, allocations: 333.9 kB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003659/0.2672, allocations: 1.072 MB / 1.046 GB, free: 8.984 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.2701, allocations: 0.8448 MB / 1.047 GB, free: 8.137 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.2725, allocations: 1.336 MB / 1.049 GB, free: 6.797 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.2736, allocations: 396.1 kB / 1.049 GB, free: 6.406 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.276, allocations: 0.8958 MB / 1.05 GB, free: 5.508 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.2775, allocations: 431.8 kB / 1.05 GB, free: 5.098 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.2777, allocations: 52 kB / 1.05 GB, free: 5.047 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.2798, allocations: 0.7596 MB / 1.051 GB, free: 4.285 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.2802, allocations: 235.3 kB / 1.051 GB, free: 4.055 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006627/0.2809, allocations: 243.4 kB / 1.052 GB, free: 3.816 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.2838, allocations: 1.18 MB / 1.053 GB, free: 2.633 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2838, allocations: 4 kB / 1.053 GB, free: 2.629 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2838, allocations: 0 / 1.053 GB, free: 2.629 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.301e-05/0.2839, allocations: 0 / 1.053 GB, free: 2.629 MB / 1.01 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.002356/0.2862, allocations: 1.028 MB / 1.054 GB, free: 1.562 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2863, allocations: 12.03 kB / 1.054 GB, free: 1.551 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.288, allocations: 279.1 kB / 1.054 GB, free: 1.277 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.2892, allocations: 457.3 kB / 1.054 GB, free: 0.8047 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.2892, allocations: 33 kB / 1.054 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-05/0.2893, allocations: 51.94 kB / 1.054 GB, free: 0.7227 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5072/0.7965, allocations: 0.8475 MB / 1.055 GB, free: 223.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.7966, allocations: 3.328 kB / 1.055 GB, free: 223.4 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.7967, allocations: 20.16 kB / 1.055 GB, free: 223.4 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.7967, allocations: 15.66 kB / 1.055 GB, free: 223.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/0.7977, allocations: 399.2 kB / 1.056 GB, free: 223.4 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.801, allocations: 2.071 MB / 1.058 GB, free: 222.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.8016, allocations: 211.2 kB / 1.058 GB, free: 222.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.8019, allocations: 125.4 kB / 1.058 GB, free: 222.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.802, allocations: 3.625 kB / 1.058 GB, free: 222.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.802, allocations: 40.05 kB / 1.058 GB, free: 222.1 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.802, allocations: 1.547 kB / 1.058 GB, free: 222.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.00383/0.8058, allocations: 0.7624 MB / 1.059 GB, free: 221.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.8058, allocations: 80.81 kB / 1.059 GB, free: 221.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.8063, allocations: 0.5115 MB / 1.059 GB, free: 221.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.8063, allocations: 28.55 kB / 1.059 GB, free: 221.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.8065, allocations: 385.9 kB / 1.06 GB, free: 221.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.8065, allocations: 49.59 kB / 1.06 GB, free: 221.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.8066, allocations: 72.47 kB / 1.06 GB, free: 221.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8067, allocations: 0.5377 MB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.8071, allocations: 132.2 kB / 1.061 GB, free: 220.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.8075, allocations: 265.8 kB / 1.061 GB, free: 220.4 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.8082, allocations: 332.9 kB / 1.061 GB, free: 220.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8082, allocations: 8.281 kB / 1.061 GB, free: 220.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001869/0.8101, allocations: 0.5514 MB / 1.062 GB, free: 220 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8101, allocations: 5.875 kB / 1.062 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.8101, allocations: 5.188 kB / 1.062 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.8116, allocations: 292.6 kB / 1.062 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.8119, allocations: 65.92 kB / 1.062 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.8149, allocations: 2.448 MB / 1.064 GB, free: 218 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.8154, allocations: 49.05 kB / 1.065 GB, free: 218 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.8154, allocations: 15.31 kB / 1.065 GB, free: 218 MB / 1.01 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.0002165/0.8156, allocations: 210.9 kB / 1.065 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/0.8157, allocations: 42.2 kB / 1.065 GB, free: 217.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.8158, allocations: 38.7 kB / 1.065 GB, free: 217.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8158, allocations: 2.844 kB / 1.065 GB, free: 217.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.8158, allocations: 1.844 kB / 1.065 GB, free: 217.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8158, allocations: 3.281 kB / 1.065 GB, free: 217.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.8181, allocations: 0.9954 MB / 1.066 GB, free: 217.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8181, allocations: 3.469 kB / 1.066 GB, free: 217.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.8183, allocations: 33.52 kB / 1.066 GB, free: 217.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.8196, allocations: 291.9 kB / 1.066 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.8196, allocations: 4 kB / 1.066 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.8222, allocations: 2.407 MB / 1.068 GB, free: 215.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8222, allocations: 6.781 kB / 1.068 GB, free: 215.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.8239, allocations: 0.6111 MB / 1.069 GB, free: 214.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.8241, allocations: 79 kB / 1.069 GB, free: 214.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.8242, allocations: 6.016 kB / 1.069 GB, free: 214.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.8246, allocations: 29.02 kB / 1.069 GB, free: 214.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.8247, allocations: 17.08 kB / 1.069 GB, free: 214.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.8248, allocations: 20.33 kB / 1.069 GB, free: 214.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002796/0.825, allocations: 324.1 kB / 1.07 GB, free: 214.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.825, allocations: 0 / 1.07 GB, free: 214.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006323/0.8257, allocations: 201.8 kB / 1.07 GB, free: 214.5 MB / 1.01 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.0002841/0.826, allocations: 171.2 kB / 1.07 GB, free: 214.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.8271, allocations: 0.4913 MB / 1.07 GB, free: 214.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8271, allocations: 0 / 1.07 GB, free: 214.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.8276, allocations: 340.5 kB / 1.071 GB, free: 213.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.8287, allocations: 204.7 kB / 1.071 GB, free: 213.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.8313, allocations: 0.9702 MB / 1.072 GB, free: 213.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.8315, allocations: 257.9 kB / 1.072 GB, free: 213.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.8318, allocations: 71.77 kB / 1.072 GB, free: 213.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.8319, allocations: 32.19 kB / 1.072 GB, free: 213.3 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.8319, allocations: 0 / 1.072 GB, free: 213.3 MB / 1.01 GB Notification: Performance of Templates: time 0.01508/0.847, allocations: 9.776 MB / 1.082 GB, free: 212.2 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] 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.721695057000034]