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.0008381/0.0008381, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008221/0.0008221, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8464/0.8464, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.716/1.716, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.833e-06/1.833e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.386e-05, allocations: 5.375 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6248/0.6248, allocations: 155.9 MB / 1.153 GB, free: 2.293 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.6383, allocations: 12.01 MB / 1.165 GB, free: 10.19 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.6395, allocations: 47.53 kB / 1.165 GB, free: 10.16 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.6408, allocations: 480.7 kB / 1.165 GB, free: 9.859 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.6439, allocations: 1.092 MB / 1.166 GB, free: 9.195 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.00453/0.6484, allocations: 1.933 MB / 1.168 GB, free: 8.184 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.652, allocations: 2.596 MB / 1.171 GB, free: 6.867 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.6543, allocations: 1.22 MB / 1.172 GB, free: 6.207 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.6589, allocations: 2.056 MB / 1.174 GB, free: 5.309 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.6604, allocations: 0.7362 MB / 1.175 GB, free: 5.039 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.6607, allocations: 180 kB / 1.175 GB, free: 5.039 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.6635, allocations: 1.301 MB / 1.176 GB, free: 4.641 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005381/0.6641, allocations: 0.5189 MB / 1.177 GB, free: 4.324 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.6652, allocations: 0.6137 MB / 1.177 GB, free: 4.035 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005474/0.6707, allocations: 3.013 MB / 1.18 GB, free: 2.867 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6707, allocations: 1.281 kB / 1.18 GB, free: 2.867 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6707, allocations: 0 / 1.18 GB, free: 2.867 MB / 1.026 GB Notification: Performance of Transformations before backend: time 7.803e-05/0.6708, allocations: 0 / 1.18 GB, free: 2.867 MB / 1.026 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.004017/0.6748, allocations: 2.033 MB / 1.182 GB, free: 1.578 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6748, allocations: 9.844 kB / 1.182 GB, free: 1.578 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.6768, allocations: 470.5 kB / 1.183 GB, free: 1.457 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.6783, allocations: 0.973 MB / 1.184 GB, free: 0.8789 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.6784, allocations: 108.5 kB / 1.184 GB, free: 0.8281 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.6785, allocations: 138.7 kB / 1.184 GB, free: 0.7852 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.6807, allocations: 2.044 MB / 1.186 GB, free: 15.47 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.6808, allocations: 5.375 kB / 1.186 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/0.6809, allocations: 61.25 kB / 1.186 GB, free: 15.42 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.6809, allocations: 34.06 kB / 1.186 GB, free: 15.42 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.6829, allocations: 1.539 MB / 1.188 GB, free: 15 MB / 1.042 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.005425/0.6883, allocations: 3.822 MB / 1.191 GB, free: 12.72 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.6901, allocations: 1.186 MB / 1.192 GB, free: 12.27 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/0.6906, allocations: 462 kB / 1.193 GB, free: 12.09 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003797/0.691, allocations: 108.6 kB / 1.193 GB, free: 12.08 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.6922, allocations: 1.077 MB / 1.194 GB, free: 11.35 MB / 1.042 GB Notification: Performance of pre-optimization done (n=115): time 3.847e-06/0.6922, allocations: 1.031 kB / 1.194 GB, free: 11.35 MB / 1.042 GB Notification: Performance of matching and sorting (n=115): time 0.002911/0.6951, allocations: 1.607 MB / 1.196 GB, free: 10.77 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.6952, allocations: 211.3 kB / 1.196 GB, free: 10.54 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009255/0.6961, allocations: 0.7632 MB / 1.197 GB, free: 10.22 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.6962, allocations: 55.05 kB / 1.197 GB, free: 10.17 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.6967, allocations: 0.6131 MB / 1.197 GB, free: 9.68 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.697, allocations: 392.3 kB / 1.198 GB, free: 9.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.6972, allocations: 233.6 kB / 1.198 GB, free: 9.203 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6973, allocations: 356.5 kB / 1.198 GB, free: 8.859 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005793/0.6979, allocations: 426.4 kB / 1.199 GB, free: 8.648 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.6989, allocations: 0.7697 MB / 1.199 GB, free: 8.039 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.7002, allocations: 1.006 MB / 1.2 GB, free: 7.453 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.7002, allocations: 1.375 kB / 1.2 GB, free: 7.453 MB / 1.042 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002021/0.7022, allocations: 1.296 MB / 1.202 GB, free: 6.801 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.7022, allocations: 9.531 kB / 1.202 GB, free: 6.797 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.7022, allocations: 7.453 kB / 1.202 GB, free: 6.793 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.7026, allocations: 89.38 kB / 1.202 GB, free: 6.75 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.7032, allocations: 266.1 kB / 1.202 GB, free: 6.684 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.7046, allocations: 1.514 MB / 1.203 GB, free: 5.246 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.7054, allocations: 127.6 kB / 1.203 GB, free: 5.164 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.7054, allocations: 60.59 kB / 1.204 GB, free: 5.141 MB / 1.042 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.0007192/0.7062, allocations: 352.2 kB / 1.204 GB, free: 4.883 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.7064, allocations: 118.7 kB / 1.204 GB, free: 4.82 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.7083, allocations: 1.448 MB / 1.205 GB, free: 4.012 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.7083, allocations: 13.69 kB / 1.205 GB, free: 4.012 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7083, allocations: 0 / 1.205 GB, free: 4.012 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7083, allocations: 3.984 kB / 1.205 GB, free: 4.008 MB / 1.042 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.003367/0.7117, allocations: 2.59 MB / 1.208 GB, free: 2.383 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7117, allocations: 0 / 1.208 GB, free: 2.383 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.7122, allocations: 222.3 kB / 1.208 GB, free: 2.332 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.7124, allocations: 77.06 kB / 1.208 GB, free: 2.293 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.7124, allocations: 34.38 kB / 1.208 GB, free: 2.27 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.7136, allocations: 1.549 MB / 1.21 GB, free: 0.8047 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7136, allocations: 6.594 kB / 1.21 GB, free: 0.8008 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.7156, allocations: 1.352 MB / 1.211 GB, free: 64 kB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/0.7161, allocations: 280.3 kB / 1.211 GB, free: 15.85 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.7162, allocations: 24.09 kB / 1.211 GB, free: 15.84 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.7167, allocations: 81.42 kB / 1.211 GB, free: 15.8 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.7168, allocations: 92.97 kB / 1.212 GB, free: 15.74 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.7169, allocations: 52.16 kB / 1.212 GB, free: 15.72 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0005215/0.7174, allocations: 0.5266 MB / 1.212 GB, free: 15.42 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7174, allocations: 0 / 1.212 GB, free: 15.42 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001262/0.7187, allocations: 0.5203 MB / 1.213 GB, free: 15.26 MB / 1.057 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.001345/0.72, allocations: 0.7544 MB / 1.213 GB, free: 14.93 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.7217, allocations: 1.162 MB / 1.214 GB, free: 14.33 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7217, allocations: 2.25 kB / 1.214 GB, free: 14.33 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0006919/0.7224, allocations: 0.6425 MB / 1.215 GB, free: 13.97 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.7235, allocations: 435.1 kB / 1.216 GB, free: 13.74 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.7267, allocations: 2.459 MB / 1.218 GB, free: 12.28 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.7272, allocations: 0.6275 MB / 1.219 GB, free: 11.93 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.7275, allocations: 157.8 kB / 1.219 GB, free: 11.88 MB / 1.057 GB Notification: Performance of SimCode: time 1.292e-06/0.7275, allocations: 0 / 1.219 GB, free: 11.88 MB / 1.057 GB Notification: Performance of Templates: time 0.02943/0.757, allocations: 28.48 MB / 1.247 GB, free: 15.82 MB / 1.089 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] "" Variables in the reference:time,senTem.T,senRelHum.phi,senMasFra.X Variables in the result:senMasFra.X,senRelHum.phi,senTem.T,time [Calling sys.exit(0), Time elapsed: 10.765985954552889]