Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001887/0.001887, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002423/0.002423, allocations: 186 kB / 20.78 MB, free: 1.547 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.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.88 kB / 1.059 GB, free: 424 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.8889/1.234, allocations: 177.6 MB / 1.39 GB, free: 2.957 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02312/1.257, allocations: 13.04 MB / 1.402 GB, free: 8.543 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/1.26, allocations: 28.47 kB / 1.402 GB, free: 8.535 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003109/1.263, allocations: 483.6 kB / 1.403 GB, free: 8.125 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006498/1.269, allocations: 1.062 MB / 1.404 GB, free: 7.301 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006734/1.276, allocations: 1.907 MB / 1.406 GB, free: 5.875 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004339/1.28, allocations: 2.528 MB / 1.408 GB, free: 4.359 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/1.283, allocations: 1.282 MB / 1.409 GB, free: 3.406 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005212/1.288, allocations: 1.476 MB / 1.411 GB, free: 2.551 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/1.29, allocations: 0.9089 MB / 1.412 GB, free: 1.938 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005849/1.291, allocations: 173.7 kB / 1.412 GB, free: 1.938 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/1.295, allocations: 1.473 MB / 1.413 GB, free: 1.203 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008957/1.296, allocations: 492 kB / 1.414 GB, free: 0.832 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002104/1.298, allocations: 0.873 MB / 1.415 GB, free: 228 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006675/1.305, allocations: 2.821 MB / 1.417 GB, free: 14.29 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/1.305, allocations: 2.094 kB / 1.417 GB, free: 14.29 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.375e-06/1.305, allocations: 4 kB / 1.417 GB, free: 14.29 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000106/1.305, allocations: 0 / 1.417 GB, free: 14.29 MB / 1.092 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.005621/1.31, allocations: 2.071 MB / 1.419 GB, free: 12.71 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.31, allocations: 7.625 kB / 1.419 GB, free: 12.71 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/1.313, allocations: 420.3 kB / 1.42 GB, free: 12.51 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/1.316, allocations: 1.037 MB / 1.421 GB, free: 11.7 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.316, allocations: 102.9 kB / 1.421 GB, free: 11.65 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/1.316, allocations: 131.3 kB / 1.421 GB, free: 11.61 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/1.319, allocations: 1.521 MB / 1.423 GB, free: 10.63 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/1.319, allocations: 6.25 kB / 1.423 GB, free: 10.63 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/1.32, allocations: 58.97 kB / 1.423 GB, free: 10.59 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/1.32, allocations: 33.16 kB / 1.423 GB, free: 10.59 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/1.323, allocations: 1.585 MB / 1.424 GB, free: 9.82 MB / 1.092 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.009479/1.332, allocations: 5.307 MB / 1.429 GB, free: 4.945 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/1.335, allocations: 1.449 MB / 1.431 GB, free: 3.422 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009697/1.336, allocations: 445.1 kB / 1.431 GB, free: 2.98 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008689/1.337, allocations: 428.1 kB / 1.432 GB, free: 2.492 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/1.339, allocations: 0.6919 MB / 1.432 GB, free: 1.785 MB / 1.092 GB Notification: Performance of pre-optimization done (n=107): time 3.246e-06/1.339, allocations: 0 / 1.432 GB, free: 1.785 MB / 1.092 GB Notification: Performance of matching and sorting (n=107): time 0.004965/1.343, allocations: 1.669 MB / 1.434 GB, free: 88 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/1.344, allocations: 196.9 kB / 1.434 GB, free: 15.85 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.345, allocations: 0.8921 MB / 1.435 GB, free: 14.94 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000164/1.346, allocations: 53.69 kB / 1.435 GB, free: 14.88 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007826/1.346, allocations: 0.6103 MB / 1.436 GB, free: 14.26 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/1.347, allocations: 368.9 kB / 1.436 GB, free: 13.9 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004978/1.347, allocations: 214.9 kB / 1.436 GB, free: 13.68 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.348, allocations: 341.9 kB / 1.437 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000952/1.349, allocations: 398.4 kB / 1.437 GB, free: 12.95 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/1.35, allocations: 0.5785 MB / 1.438 GB, free: 12.32 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/1.352, allocations: 0.9642 MB / 1.438 GB, free: 11.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.352, allocations: 0 / 1.438 GB, free: 11.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003305/1.355, allocations: 1.231 MB / 1.44 GB, free: 10.08 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/1.355, allocations: 15.92 kB / 1.44 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.355, allocations: 4 kB / 1.44 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/1.356, allocations: 85.19 kB / 1.44 GB, free: 9.973 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.357, allocations: 255.6 kB / 1.44 GB, free: 9.723 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/1.36, allocations: 1.659 MB / 1.442 GB, free: 7.922 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/1.361, allocations: 136.1 kB / 1.442 GB, free: 7.789 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/1.361, allocations: 51.91 kB / 1.442 GB, free: 7.738 MB / 1.107 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.0008676/1.362, allocations: 347.2 kB / 1.442 GB, free: 7.387 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004674/1.362, allocations: 131.2 kB / 1.442 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/1.366, allocations: 1.434 MB / 1.444 GB, free: 5.812 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.366, allocations: 12 kB / 1.444 GB, free: 5.801 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.366, allocations: 3.984 kB / 1.444 GB, free: 5.797 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.366, allocations: 3.984 kB / 1.444 GB, free: 5.793 MB / 1.107 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.005994/1.372, allocations: 2.869 MB / 1.446 GB, free: 2.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.372, allocations: 0 / 1.446 GB, free: 2.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.373, allocations: 223.6 kB / 1.447 GB, free: 2.621 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/1.374, allocations: 76.77 kB / 1.447 GB, free: 2.543 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/1.374, allocations: 31.97 kB / 1.447 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/1.376, allocations: 1.67 MB / 1.448 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.376, allocations: 0 / 1.448 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/1.379, allocations: 1.331 MB / 1.45 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/1.38, allocations: 359.9 kB / 1.45 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/1.38, allocations: 28 kB / 1.45 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.381, allocations: 81.75 kB / 1.45 GB, free: 14.87 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.382, allocations: 88.81 kB / 1.45 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.382, allocations: 51.91 kB / 1.45 GB, free: 14.73 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001094/1.383, allocations: 0.6189 MB / 1.451 GB, free: 14.1 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/1.383, allocations: 0 / 1.451 GB, free: 14.1 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001529/1.384, allocations: 0.4987 MB / 1.451 GB, free: 13.6 MB / 1.123 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.002441/1.387, allocations: 0.7036 MB / 1.452 GB, free: 13.07 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002656/1.39, allocations: 1.105 MB / 1.453 GB, free: 11.96 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.39, allocations: 4 kB / 1.453 GB, free: 11.96 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.391, allocations: 0.637 MB / 1.454 GB, free: 11.31 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.394, allocations: 0.5335 MB / 1.454 GB, free: 10.8 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/1.399, allocations: 2.381 MB / 1.457 GB, free: 8.387 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.4, allocations: 1.205 MB / 1.458 GB, free: 7.145 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001564/1.401, allocations: 401.8 kB / 1.458 GB, free: 6.75 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/1.402, allocations: 139.4 kB / 1.458 GB, free: 6.617 MB / 1.123 GB Notification: Performance of SimCode: time 1.322e-06/1.402, allocations: 0 / 1.458 GB, free: 6.617 MB / 1.123 GB Notification: Performance of Templates: time 0.0475/1.449, allocations: 25.22 MB / 1.483 GB, free: 13.74 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.689755452796817]