Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.00179/0.00179, allocations: 92.7 kB / 19.44 MB, free: 324 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.002447/0.002447, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.207/3.207, 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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.146e-05, allocations: 6.547 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2298/0.2298, allocations: 155.9 MB / 1.03 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.251, allocations: 12.03 MB / 1.042 GB, free: 13.96 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.2524, allocations: 39.69 kB / 1.042 GB, free: 13.92 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.2541, allocations: 480.1 kB / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.258, allocations: 1.095 MB / 1.043 GB, free: 12.34 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005725/0.2637, allocations: 1.919 MB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004441/0.2681, allocations: 2.613 MB / 1.048 GB, free: 7.797 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/0.271, allocations: 1.251 MB / 1.049 GB, free: 6.492 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/0.2776, allocations: 2.144 MB / 1.051 GB, free: 4.418 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.2792, allocations: 0.7244 MB / 1.052 GB, free: 3.691 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005154/0.2797, allocations: 183.9 kB / 1.052 GB, free: 3.512 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.283, allocations: 1.306 MB / 1.053 GB, free: 2.203 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0008027/0.2838, allocations: 0.5101 MB / 1.054 GB, free: 1.691 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.2852, allocations: 0.6235 MB / 1.054 GB, free: 1.066 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.437/0.7221, allocations: 3.014 MB / 1.057 GB, free: 52.97 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.7222, allocations: 0 / 1.057 GB, free: 52.97 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7222, allocations: 0 / 1.057 GB, free: 52.97 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001111/0.7223, allocations: 0 / 1.057 GB, free: 52.97 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004531/0.7268, allocations: 2.031 MB / 1.059 GB, free: 52 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.7268, allocations: 9.625 kB / 1.059 GB, free: 52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/0.7306, allocations: 0.6625 MB / 1.06 GB, free: 51.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.7326, allocations: 1.003 MB / 1.061 GB, free: 51.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.7327, allocations: 103.5 kB / 1.061 GB, free: 51.53 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.7329, allocations: 151.8 kB / 1.061 GB, free: 51.53 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.7358, allocations: 2.053 MB / 1.063 GB, free: 50.68 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.7358, allocations: 0 / 1.063 GB, free: 50.68 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.736, allocations: 62.5 kB / 1.063 GB, free: 50.68 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.736, allocations: 32.16 kB / 1.063 GB, free: 50.68 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.7386, allocations: 1.548 MB / 1.065 GB, free: 50.67 MB / 1.01 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.00654/0.7451, allocations: 3.873 MB / 1.068 GB, free: 49.37 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.7475, allocations: 1.194 MB / 1.07 GB, free: 49.34 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.7483, allocations: 462.5 kB / 1.07 GB, free: 49.33 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006023/0.7489, allocations: 118.8 kB / 1.07 GB, free: 49.33 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.7502, allocations: 1.06 MB / 1.071 GB, free: 48.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=115): time 3.958e-06/0.7502, allocations: 0.875 kB / 1.071 GB, free: 48.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=115): time 0.004264/0.7545, allocations: 1.651 MB / 1.073 GB, free: 48.71 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.7545, allocations: 204.9 kB / 1.073 GB, free: 48.49 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.7556, allocations: 0.7683 MB / 1.074 GB, free: 48.34 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.7557, allocations: 58.05 kB / 1.074 GB, free: 48.31 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.7562, allocations: 0.6047 MB / 1.074 GB, free: 48.02 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.7565, allocations: 393.1 kB / 1.075 GB, free: 47.77 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.7568, allocations: 229.5 kB / 1.075 GB, free: 47.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.7569, allocations: 352.3 kB / 1.075 GB, free: 47.44 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008111/0.7577, allocations: 427.5 kB / 1.076 GB, free: 47.44 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.7587, allocations: 0.7738 MB / 1.076 GB, free: 47.07 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.7605, allocations: 0.9985 MB / 1.077 GB, free: 46.95 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.7605, allocations: 2.969 kB / 1.077 GB, free: 46.95 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002772/0.7632, allocations: 1.349 MB / 1.079 GB, free: 46.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7633, allocations: 9.188 kB / 1.079 GB, free: 46.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7633, allocations: 6.75 kB / 1.079 GB, free: 46.81 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009238/0.7642, allocations: 140.9 kB / 1.079 GB, free: 46.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.7653, allocations: 265.1 kB / 1.079 GB, free: 46.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.7671, allocations: 1.521 MB / 1.081 GB, free: 45.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.7682, allocations: 124.2 kB / 1.081 GB, free: 45.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.7683, allocations: 54.23 kB / 1.081 GB, free: 45.54 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006098/0.7689, allocations: 359.3 kB / 1.081 GB, free: 45.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.7693, allocations: 153.5 kB / 1.081 GB, free: 45.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.7722, allocations: 1.449 MB / 1.083 GB, free: 45.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.7723, allocations: 14.03 kB / 1.083 GB, free: 45.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7723, allocations: 3.938 kB / 1.083 GB, free: 45.24 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.7723, allocations: 9.328 kB / 1.083 GB, free: 45.24 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.004601/0.7769, allocations: 2.598 MB / 1.085 GB, free: 44.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7769, allocations: 0 / 1.085 GB, free: 44.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009575/0.7778, allocations: 221.3 kB / 1.085 GB, free: 44.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007256/0.7786, allocations: 124.8 kB / 1.086 GB, free: 44.85 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.7787, allocations: 31.09 kB / 1.086 GB, free: 44.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.7802, allocations: 1.547 MB / 1.087 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7802, allocations: 1.031 kB / 1.087 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.7832, allocations: 1.4 MB / 1.088 GB, free: 43.39 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/0.7838, allocations: 271.8 kB / 1.089 GB, free: 43.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.784, allocations: 31.27 kB / 1.089 GB, free: 43.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.7851, allocations: 83.09 kB / 1.089 GB, free: 43.31 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.7853, allocations: 90.81 kB / 1.089 GB, free: 43.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.7854, allocations: 54.05 kB / 1.089 GB, free: 43.31 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008261/0.7862, allocations: 0.5221 MB / 1.09 GB, free: 43.21 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.7862, allocations: 0.75 kB / 1.09 GB, free: 43.21 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001607/0.7878, allocations: 0.5305 MB / 1.09 GB, free: 43.11 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002775/0.7906, allocations: 0.7553 MB / 1.091 GB, free: 42.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002659/0.7933, allocations: 1.159 MB / 1.092 GB, free: 42.79 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7933, allocations: 1.125 kB / 1.092 GB, free: 42.79 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.7946, allocations: 0.6535 MB / 1.093 GB, free: 42.67 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.7969, allocations: 494.6 kB / 1.093 GB, free: 42.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.8019, allocations: 2.442 MB / 1.095 GB, free: 41.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008003/0.8027, allocations: 0.629 MB / 1.096 GB, free: 41.52 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001541/0.8043, allocations: 375.3 kB / 1.096 GB, free: 41.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.8048, allocations: 141.8 kB / 1.096 GB, free: 41.45 MB / 1.01 GB Notification: Performance of SimCode: time 1.643e-06/0.8048, allocations: 1 kB / 1.096 GB, free: 41.45 MB / 1.01 GB Notification: Performance of Templates: time 0.0423/0.8471, allocations: 23.11 MB / 1.119 GB, free: 39 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.980322296964005]