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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008021/0.008021, allocations: 102 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 192 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7359, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2005/0.9365, allocations: 176.8 MB / 1.339 GB, free: 2.359 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.9557, allocations: 12.8 MB / 1.352 GB, free: 5.512 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.9575, allocations: 31.81 kB / 1.352 GB, free: 5.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.9594, allocations: 488.4 kB / 1.352 GB, free: 5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.9634, allocations: 1.053 MB / 1.353 GB, free: 3.945 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005942/0.9693, allocations: 1.889 MB / 1.355 GB, free: 2.062 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004018/0.9734, allocations: 2.539 MB / 1.358 GB, free: 15.52 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.9765, allocations: 1.603 MB / 1.359 GB, free: 13.86 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.981, allocations: 1.467 MB / 1.361 GB, free: 12.42 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.9825, allocations: 0.8792 MB / 1.361 GB, free: 11.54 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005022/0.983, allocations: 172 kB / 1.362 GB, free: 11.37 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.9864, allocations: 1.427 MB / 1.363 GB, free: 9.941 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006701/0.9871, allocations: 494.5 kB / 1.363 GB, free: 9.457 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.9885, allocations: 0.8786 MB / 1.364 GB, free: 8.574 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005053/0.9936, allocations: 2.814 MB / 1.367 GB, free: 5.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9936, allocations: 3.938 kB / 1.367 GB, free: 5.746 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9936, allocations: 0 / 1.367 GB, free: 5.746 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.224e-05/0.9937, allocations: 0 / 1.367 GB, free: 5.746 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.004309/0.998, allocations: 2.08 MB / 1.369 GB, free: 3.602 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.9981, allocations: 8.031 kB / 1.369 GB, free: 3.594 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/1.001, allocations: 414.5 kB / 1.37 GB, free: 3.188 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/1.003, allocations: 1.039 MB / 1.371 GB, free: 2.102 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.799e-05/1.003, allocations: 102.7 kB / 1.371 GB, free: 2 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.003, allocations: 128 kB / 1.371 GB, free: 1.875 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/1.005, allocations: 1.528 MB / 1.372 GB, free: 276 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/1.006, allocations: 0 / 1.372 GB, free: 276 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/1.006, allocations: 60 kB / 1.372 GB, free: 216 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/1.006, allocations: 32 kB / 1.372 GB, free: 184 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/1.008, allocations: 1.587 MB / 1.374 GB, free: 14.59 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 preOpt removeSimpleEquations (simulation): time 0.007511/1.016, allocations: 5.309 MB / 1.379 GB, free: 8.961 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/1.019, allocations: 1.522 MB / 1.381 GB, free: 7.363 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/1.019, allocations: 482.4 kB / 1.381 GB, free: 6.887 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/1.02, allocations: 429.3 kB / 1.381 GB, free: 6.395 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/1.022, allocations: 0.6915 MB / 1.382 GB, free: 5.691 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.507e-06/1.022, allocations: 0 / 1.382 GB, free: 5.691 MB / 1.107 GB Notification: Performance of matching and sorting (n=107): time 0.004427/1.026, allocations: 1.665 MB / 1.384 GB, free: 3.996 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/1.026, allocations: 204.8 kB / 1.384 GB, free: 3.754 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.027, allocations: 0.8921 MB / 1.385 GB, free: 2.84 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.028, allocations: 49.7 kB / 1.385 GB, free: 2.785 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/1.028, allocations: 0.6064 MB / 1.385 GB, free: 2.172 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/1.028, allocations: 380.7 kB / 1.386 GB, free: 1.797 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/1.029, allocations: 210.9 kB / 1.386 GB, free: 1.586 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.029, allocations: 341.9 kB / 1.386 GB, free: 1.246 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/1.03, allocations: 406.4 kB / 1.387 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/1.031, allocations: 0.5668 MB / 1.387 GB, free: 236 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/1.032, allocations: 0.9604 MB / 1.388 GB, free: 15.22 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.032, allocations: 0 / 1.388 GB, free: 15.22 MB / 1.123 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00287/1.035, allocations: 1.243 MB / 1.389 GB, free: 13.97 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.035, allocations: 8 kB / 1.389 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.035, allocations: 4 kB / 1.389 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/1.036, allocations: 85.19 kB / 1.39 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.037, allocations: 263.6 kB / 1.39 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/1.04, allocations: 1.652 MB / 1.391 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.041, allocations: 139.2 kB / 1.392 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.041, allocations: 55.95 kB / 1.392 GB, free: 11.63 MB / 1.123 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.0007413/1.042, allocations: 343.2 kB / 1.392 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/1.042, allocations: 127.2 kB / 1.392 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/1.045, allocations: 1.437 MB / 1.393 GB, free: 9.715 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.045, allocations: 12 kB / 1.393 GB, free: 9.703 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.045, allocations: 0 / 1.393 GB, free: 9.703 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.045, allocations: 3.984 kB / 1.393 GB, free: 9.699 MB / 1.123 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.004949/1.05, allocations: 2.865 MB / 1.396 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.05, allocations: 0 / 1.396 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.051, allocations: 223.6 kB / 1.396 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/1.052, allocations: 76.78 kB / 1.397 GB, free: 6.453 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/1.052, allocations: 35.97 kB / 1.397 GB, free: 6.418 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.054, allocations: 1.674 MB / 1.398 GB, free: 4.586 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.054, allocations: 4.062 kB / 1.398 GB, free: 4.582 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/1.057, allocations: 1.323 MB / 1.399 GB, free: 3.242 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000631/1.057, allocations: 359.8 kB / 1.4 GB, free: 2.871 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/1.058, allocations: 27.94 kB / 1.4 GB, free: 2.844 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009911/1.059, allocations: 80.86 kB / 1.4 GB, free: 2.766 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/1.059, allocations: 84.81 kB / 1.4 GB, free: 2.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.059, allocations: 55.95 kB / 1.4 GB, free: 2.625 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009904/1.06, allocations: 0.615 MB / 1.401 GB, free: 2 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.41e-07/1.06, allocations: 3.938 kB / 1.401 GB, free: 1.996 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001451/1.061, allocations: 0.491 MB / 1.401 GB, free: 1.504 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.001764/1.063, allocations: 0.7109 MB / 1.402 GB, free: 0.957 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002688/1.066, allocations: 1.156 MB / 1.403 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/1.066, allocations: 4 kB / 1.403 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/1.067, allocations: 0.6758 MB / 1.404 GB, free: 15.1 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.07, allocations: 0.5339 MB / 1.404 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/1.074, allocations: 2.377 MB / 1.406 GB, free: 12.18 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/1.075, allocations: 1.205 MB / 1.408 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00138/1.076, allocations: 381.9 kB / 1.408 GB, free: 10.56 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/1.077, allocations: 143.4 kB / 1.408 GB, free: 10.42 MB / 1.139 GB Notification: Performance of SimCode: time 1.152e-06/1.077, allocations: 0 / 1.408 GB, free: 10.42 MB / 1.139 GB Notification: Performance of Templates: time 0.04405/1.121, allocations: 24.74 MB / 1.432 GB, free: 1.961 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) 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) Reference file matches