Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002304/0.002304, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002602/0.002602, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.914/2.914, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.249e-05, allocations: 4.016 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2501/0.2502, allocations: 173 MB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02128/0.2714, allocations: 13.13 MB / 0.9681 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.2726, allocations: 43.69 kB / 0.9682 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.2739, allocations: 480.1 kB / 0.9686 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.2772, allocations: 1.099 MB / 0.9697 GB, free: 500 kB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.005188/0.2824, allocations: 1.939 MB / 0.9716 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004064/0.2865, allocations: 2.64 MB / 0.9742 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.2889, allocations: 1.326 MB / 0.9755 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005639/0.2946, allocations: 1.991 MB / 0.9774 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.2959, allocations: 0.7439 MB / 0.9781 GB, free: 7.859 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.2963, allocations: 180 kB / 0.9783 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.2992, allocations: 1.309 MB / 0.9796 GB, free: 6.371 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0006176/0.2999, allocations: 0.5218 MB / 0.9801 GB, free: 5.848 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.301, allocations: 0.6118 MB / 0.9807 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.3068, allocations: 3.026 MB / 0.9836 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3068, allocations: 0 / 0.9836 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3068, allocations: 0 / 0.9836 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.769e-05/0.3068, allocations: 0 / 0.9836 GB, free: 2.199 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004098/0.3109, allocations: 2.269 MB / 0.9859 GB, free: 15.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3109, allocations: 8.031 kB / 0.9859 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.3144, allocations: 0.6496 MB / 0.9865 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.3164, allocations: 1.017 MB / 0.9875 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3165, allocations: 102.8 kB / 0.9876 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.3168, allocations: 144 kB / 0.9877 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/0.3203, allocations: 2.028 MB / 0.9897 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.3203, allocations: 4 kB / 0.9897 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.3205, allocations: 59.98 kB / 0.9898 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.3205, allocations: 36 kB / 0.9898 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.3233, allocations: 1.364 MB / 0.9911 GB, free: 10.22 MB / 0.948 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.009384/0.3327, allocations: 5.138 MB / 0.9962 GB, free: 4.938 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.3353, allocations: 1.059 MB / 0.9972 GB, free: 3.875 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008447/0.3361, allocations: 398.5 kB / 0.9976 GB, free: 3.484 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.3368, allocations: 112.9 kB / 0.9977 GB, free: 3.375 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/0.3384, allocations: 1.05 MB / 0.9987 GB, free: 2.211 MB / 0.948 GB Notification: Performance of pre-optimization done (n=115): time 3.106e-06/0.3384, allocations: 0 / 0.9987 GB, free: 2.211 MB / 0.948 GB Notification: Performance of matching and sorting (n=115): time 0.004454/0.3429, allocations: 1.448 MB / 1 GB, free: 0.7578 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.343, allocations: 200.9 kB / 1 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.3445, allocations: 0.9563 MB / 1.001 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.3447, allocations: 65.62 kB / 1.001 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009657/0.3456, allocations: 0.7068 MB / 1.002 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004513/0.3461, allocations: 420.7 kB / 1.002 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.3466, allocations: 280.5 kB / 1.003 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003414/0.3469, allocations: 0.5628 MB / 1.003 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/0.3477, allocations: 338.5 kB / 1.004 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.3489, allocations: 0.7819 MB / 1.004 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.3508, allocations: 0.9187 MB / 1.005 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3508, allocations: 0 / 1.005 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003097/0.3539, allocations: 1.195 MB / 1.006 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3539, allocations: 16.02 kB / 1.006 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3539, allocations: 4 kB / 1.006 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.3549, allocations: 143.5 kB / 1.007 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.3562, allocations: 275.6 kB / 1.007 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.3592, allocations: 2.046 MB / 1.009 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.3603, allocations: 117.9 kB / 1.009 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3604, allocations: 55.95 kB / 1.009 GB, free: 7.301 MB / 0.9636 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.0006936/0.3611, allocations: 335.1 kB / 1.009 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.3614, allocations: 163.2 kB / 1.009 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/0.3648, allocations: 1.313 MB / 1.011 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.3648, allocations: 16 kB / 1.011 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3648, allocations: 0 / 1.011 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3648, allocations: 7.984 kB / 1.011 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005945/0.3708, allocations: 2.729 MB / 1.013 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3708, allocations: 0 / 1.013 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.3719, allocations: 219.7 kB / 1.014 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008218/0.3727, allocations: 131.6 kB / 1.014 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-05/0.3728, allocations: 31.97 kB / 1.014 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.3756, allocations: 2.07 MB / 1.016 GB, free: 88 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.3756, allocations: 7.875 kB / 1.016 GB, free: 80 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.3788, allocations: 1.342 MB / 1.017 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007949/0.3796, allocations: 278.7 kB / 1.017 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.3798, allocations: 24 kB / 1.017 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008433/0.3806, allocations: 63.95 kB / 1.017 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.3809, allocations: 97.06 kB / 1.018 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.381, allocations: 47.97 kB / 1.018 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009538/0.382, allocations: 0.5927 MB / 1.018 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.382, allocations: 0 / 1.018 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001543/0.3835, allocations: 0.5259 MB / 1.019 GB, free: 13.09 MB / 0.9792 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 (126): * Single equations (assignments): 115 * 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.00385/0.3873, allocations: 0.7572 MB / 1.019 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00283/0.3902, allocations: 1.152 MB / 1.021 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3902, allocations: 0 / 1.021 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.3917, allocations: 0.7142 MB / 1.021 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.3941, allocations: 0.503 MB / 1.022 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.3992, allocations: 2.346 MB / 1.024 GB, free: 7.766 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008032/0.4, allocations: 0.6211 MB / 1.025 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001385/0.4014, allocations: 360.9 kB / 1.025 GB, free: 6.754 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/0.4018, allocations: 144.4 kB / 1.025 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of SimCode: time 1.893e-06/0.4018, allocations: 0 / 1.025 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of Templates: time 0.3735/0.7753, allocations: 23.36 MB / 1.048 GB, free: 299.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.815150972106494]