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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 489.3 MB / 0.7687 GB, free: 3.746 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001915/0.001915, allocations: 63.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8624/0.8643, allocations: 163.8 MB / 1.263 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.219/1.083, allocations: 176.8 MB / 1.435 GB, free: 3.77 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01965/1.103, allocations: 12.81 MB / 1.448 GB, free: 9.406 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/1.105, allocations: 32.16 kB / 1.448 GB, free: 9.395 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/1.107, allocations: 467.7 kB / 1.448 GB, free: 8.996 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003859/1.111, allocations: 1.025 MB / 1.449 GB, free: 8.195 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004984/1.116, allocations: 1.873 MB / 1.451 GB, free: 6.793 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004261/1.12, allocations: 2.529 MB / 1.454 GB, free: 4.652 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/1.123, allocations: 1.602 MB / 1.455 GB, free: 2.996 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004716/1.128, allocations: 1.554 MB / 1.457 GB, free: 1.465 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/1.129, allocations: 0.8675 MB / 1.457 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003623/1.13, allocations: 172 kB / 1.458 GB, free: 436 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/1.133, allocations: 1.423 MB / 1.459 GB, free: 15 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/1.133, allocations: 0.4907 MB / 1.46 GB, free: 14.51 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/1.135, allocations: 0.8708 MB / 1.46 GB, free: 13.63 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00473/1.139, allocations: 2.814 MB / 1.463 GB, free: 10.81 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.139, allocations: 0 / 1.463 GB, free: 10.81 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.713e-06/1.139, allocations: 4 kB / 1.463 GB, free: 10.8 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.07e-05/1.139, allocations: 0 / 1.463 GB, free: 10.8 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003775/1.143, allocations: 2.087 MB / 1.465 GB, free: 8.652 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.143, allocations: 8.031 kB / 1.465 GB, free: 8.645 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/1.146, allocations: 410.6 kB / 1.466 GB, free: 8.242 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/1.148, allocations: 1.039 MB / 1.467 GB, free: 7.156 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.148, allocations: 106.7 kB / 1.467 GB, free: 7.051 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/1.148, allocations: 128 kB / 1.467 GB, free: 6.926 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/1.151, allocations: 1.52 MB / 1.468 GB, free: 5.328 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/1.151, allocations: 4 kB / 1.468 GB, free: 5.324 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/1.151, allocations: 59.98 kB / 1.468 GB, free: 5.266 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/1.151, allocations: 36 kB / 1.468 GB, free: 5.23 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/1.154, allocations: 1.579 MB / 1.47 GB, free: 3.645 MB / 1.154 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.00824/1.162, allocations: 5.41 MB / 1.475 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/1.165, allocations: 1.511 MB / 1.477 GB, free: 12.3 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000918/1.166, allocations: 489.2 kB / 1.477 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008132/1.167, allocations: 429.3 kB / 1.478 GB, free: 11.33 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/1.168, allocations: 0.6918 MB / 1.478 GB, free: 10.62 MB / 1.17 GB Notification: Performance of pre-optimization done (n=107): time 2.605e-06/1.168, allocations: 0 / 1.478 GB, free: 10.62 MB / 1.17 GB Notification: Performance of matching and sorting (n=107): time 0.004554/1.173, allocations: 1.669 MB / 1.48 GB, free: 8.926 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.173, allocations: 196.9 kB / 1.48 GB, free: 8.691 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.174, allocations: 0.8959 MB / 1.481 GB, free: 7.773 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/1.174, allocations: 49.7 kB / 1.481 GB, free: 7.719 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/1.175, allocations: 0.6025 MB / 1.482 GB, free: 7.109 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/1.175, allocations: 376.8 kB / 1.482 GB, free: 6.738 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/1.176, allocations: 214.8 kB / 1.482 GB, free: 6.523 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.176, allocations: 345.9 kB / 1.482 GB, free: 6.18 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000827/1.177, allocations: 398.4 kB / 1.483 GB, free: 5.789 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.178, allocations: 0.5746 MB / 1.483 GB, free: 5.164 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.179, allocations: 0.9566 MB / 1.484 GB, free: 4.164 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.179, allocations: 0 / 1.484 GB, free: 4.164 MB / 1.17 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002901/1.182, allocations: 1.243 MB / 1.486 GB, free: 2.91 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.182, allocations: 7.938 kB / 1.486 GB, free: 2.902 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.182, allocations: 4 kB / 1.486 GB, free: 2.898 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/1.183, allocations: 85.17 kB / 1.486 GB, free: 2.812 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.184, allocations: 259.6 kB / 1.486 GB, free: 2.559 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/1.187, allocations: 1.657 MB / 1.487 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.188, allocations: 141.2 kB / 1.488 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/1.188, allocations: 51.97 kB / 1.488 GB, free: 0.5703 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (131): * Single equations (assignments): 130 * 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.0007579/1.189, allocations: 339.5 kB / 1.488 GB, free: 232 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/1.189, allocations: 131.2 kB / 1.488 GB, free: 100 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/1.192, allocations: 1.437 MB / 1.49 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.192, allocations: 15.94 kB / 1.49 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.192, allocations: 0 / 1.49 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.193, allocations: 7.984 kB / 1.49 GB, free: 14.62 MB / 1.186 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.005197/1.198, allocations: 2.865 MB / 1.492 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.198, allocations: 0 / 1.492 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009872/1.199, allocations: 223.7 kB / 1.493 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/1.199, allocations: 68.78 kB / 1.493 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-05/1.199, allocations: 39.91 kB / 1.493 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/1.201, allocations: 1.678 MB / 1.494 GB, free: 9.527 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.201, allocations: 0 / 1.494 GB, free: 9.527 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/1.204, allocations: 1.331 MB / 1.496 GB, free: 8.176 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006258/1.205, allocations: 359.8 kB / 1.496 GB, free: 7.805 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/1.205, allocations: 24 kB / 1.496 GB, free: 7.781 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/1.206, allocations: 83.91 kB / 1.496 GB, free: 7.699 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/1.206, allocations: 88.77 kB / 1.496 GB, free: 7.613 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.207, allocations: 55.95 kB / 1.496 GB, free: 7.559 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008935/1.207, allocations: 0.615 MB / 1.497 GB, free: 6.934 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.71e-07/1.207, allocations: 0 / 1.497 GB, free: 6.934 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001256/1.209, allocations: 0.4987 MB / 1.497 GB, free: 6.434 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002137/1.211, allocations: 0.6926 MB / 1.498 GB, free: 5.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002492/1.213, allocations: 1.156 MB / 1.499 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.213, allocations: 0 / 1.499 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/1.215, allocations: 0.6761 MB / 1.5 GB, free: 4.07 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/1.217, allocations: 0.5427 MB / 1.5 GB, free: 3.559 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/1.222, allocations: 2.418 MB / 1.503 GB, free: 1.102 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.223, allocations: 1.205 MB / 1.504 GB, free: 15.86 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/1.223, allocations: 163.3 kB / 1.504 GB, free: 15.7 MB / 1.201 GB Notification: Performance of SimCode: time 7.42e-07/1.223, allocations: 0 / 1.504 GB, free: 15.7 MB / 1.201 GB Notification: Performance of Templates: time 0.04114/1.265, allocations: 28.55 MB / 1.532 GB, free: 3.281 MB / 1.217 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.494564522057772]