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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_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.007169/0.007169, allocations: 100 kB / 15.73 MB, free: 6.004 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.001678/0.001678, allocations: 201.2 kB / 16.68 MB, free: 5.93 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 68.09 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3247, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.8347/1.159, allocations: 176.8 MB / 1.38 GB, free: 10.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01687/1.176, allocations: 12.82 MB / 1.393 GB, free: 15.89 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/1.178, allocations: 31.75 kB / 1.393 GB, free: 15.88 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/1.179, allocations: 469 kB / 1.393 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/1.183, allocations: 1.033 MB / 1.394 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005105/1.188, allocations: 1.866 MB / 1.396 GB, free: 13.28 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004137/1.192, allocations: 2.529 MB / 1.399 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/1.194, allocations: 1.611 MB / 1.4 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/1.199, allocations: 1.431 MB / 1.402 GB, free: 9.887 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/1.2, allocations: 0.8889 MB / 1.402 GB, free: 9.289 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003337/1.201, allocations: 171.8 kB / 1.403 GB, free: 9.289 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/1.204, allocations: 1.419 MB / 1.404 GB, free: 8.598 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004527/1.204, allocations: 494.7 kB / 1.405 GB, free: 8.227 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009804/1.205, allocations: 0.8774 MB / 1.405 GB, free: 7.613 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003969/1.209, allocations: 2.797 MB / 1.408 GB, free: 5.699 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.209, allocations: 1.375 kB / 1.408 GB, free: 5.699 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.863e-06/1.209, allocations: 0 / 1.408 GB, free: 5.699 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.221e-05/1.209, allocations: 0 / 1.408 GB, free: 5.699 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.003763/1.213, allocations: 2.028 MB / 1.41 GB, free: 4.168 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.213, allocations: 10.78 kB / 1.41 GB, free: 4.168 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/1.216, allocations: 410.9 kB / 1.41 GB, free: 3.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/1.218, allocations: 1.025 MB / 1.411 GB, free: 3.176 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/1.218, allocations: 106.1 kB / 1.412 GB, free: 3.125 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.218, allocations: 136.6 kB / 1.412 GB, free: 3.078 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/1.22, allocations: 1.519 MB / 1.413 GB, free: 2.109 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/1.22, allocations: 6.719 kB / 1.413 GB, free: 2.105 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.221, allocations: 57.19 kB / 1.413 GB, free: 2.062 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/1.221, allocations: 38.11 kB / 1.413 GB, free: 2.059 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/1.223, allocations: 1.577 MB / 1.415 GB, free: 1.301 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.007602/1.231, allocations: 5.305 MB / 1.42 GB, free: 12.81 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/1.233, allocations: 1.515 MB / 1.421 GB, free: 11.41 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008734/1.234, allocations: 480.9 kB / 1.422 GB, free: 10.94 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/1.235, allocations: 428.1 kB / 1.422 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/1.236, allocations: 0.6967 MB / 1.423 GB, free: 9.738 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/1.236, allocations: 0 / 1.423 GB, free: 9.738 MB / 1.107 GB Notification: Performance of matching and sorting (n=107): time 0.004429/1.241, allocations: 1.661 MB / 1.425 GB, free: 8.047 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/1.241, allocations: 204.8 kB / 1.425 GB, free: 7.805 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.242, allocations: 0.892 MB / 1.426 GB, free: 6.891 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.865e-05/1.242, allocations: 49.7 kB / 1.426 GB, free: 6.836 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/1.243, allocations: 0.5936 MB / 1.426 GB, free: 6.234 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/1.243, allocations: 354.9 kB / 1.427 GB, free: 5.883 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/1.243, allocations: 218.7 kB / 1.427 GB, free: 5.664 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.243, allocations: 349.9 kB / 1.427 GB, free: 5.316 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/1.244, allocations: 394.4 kB / 1.428 GB, free: 4.93 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/1.245, allocations: 0.5746 MB / 1.428 GB, free: 4.305 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/1.247, allocations: 0.9527 MB / 1.429 GB, free: 3.309 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.247, allocations: 0 / 1.429 GB, free: 3.309 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002808/1.25, allocations: 1.235 MB / 1.43 GB, free: 2.066 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.25, allocations: 11.94 kB / 1.43 GB, free: 2.055 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.25, allocations: 0 / 1.43 GB, free: 2.055 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/1.25, allocations: 92.77 kB / 1.43 GB, free: 1.961 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.251, allocations: 251.7 kB / 1.431 GB, free: 1.715 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/1.254, allocations: 1.651 MB / 1.432 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.255, allocations: 137 kB / 1.432 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.255, allocations: 55.91 kB / 1.432 GB, free: 15.73 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.0006316/1.256, allocations: 343.6 kB / 1.433 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/1.256, allocations: 126.5 kB / 1.433 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/1.259, allocations: 1.429 MB / 1.434 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.259, allocations: 16 kB / 1.434 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.259, allocations: 0 / 1.434 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.259, allocations: 7.969 kB / 1.434 GB, free: 13.8 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.005483/1.265, allocations: 2.872 MB / 1.437 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.265, allocations: 0 / 1.437 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.266, allocations: 215.8 kB / 1.437 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005165/1.266, allocations: 72.78 kB / 1.437 GB, free: 10.56 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/1.266, allocations: 31.98 kB / 1.437 GB, free: 10.53 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/1.268, allocations: 1.677 MB / 1.439 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.268, allocations: 3.938 kB / 1.439 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/1.271, allocations: 1.322 MB / 1.44 GB, free: 7.355 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006265/1.272, allocations: 363.1 kB / 1.441 GB, free: 6.98 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/1.272, allocations: 20 kB / 1.441 GB, free: 6.961 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/1.273, allocations: 83.97 kB / 1.441 GB, free: 6.879 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/1.273, allocations: 88.81 kB / 1.441 GB, free: 6.789 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.273, allocations: 47.97 kB / 1.441 GB, free: 6.742 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008413/1.274, allocations: 0.6189 MB / 1.442 GB, free: 6.113 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.11e-07/1.274, allocations: 0 / 1.442 GB, free: 6.113 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001516/1.276, allocations: 0.4911 MB / 1.442 GB, free: 5.621 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.001657/1.277, allocations: 0.6952 MB / 1.443 GB, free: 5.105 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002322/1.28, allocations: 1.156 MB / 1.444 GB, free: 3.941 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.28, allocations: 4 kB / 1.444 GB, free: 3.938 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/1.281, allocations: 0.6719 MB / 1.444 GB, free: 3.254 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/1.283, allocations: 0.5318 MB / 1.445 GB, free: 2.742 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/1.287, allocations: 2.334 MB / 1.447 GB, free: 388 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/1.288, allocations: 1.21 MB / 1.448 GB, free: 15.14 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001244/1.29, allocations: 385.9 kB / 1.449 GB, free: 14.76 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/1.29, allocations: 143.3 kB / 1.449 GB, free: 14.62 MB / 1.139 GB Notification: Performance of SimCode: time 1.423e-06/1.29, allocations: 0 / 1.449 GB, free: 14.62 MB / 1.139 GB Notification: Performance of Templates: time 0.04145/1.331, allocations: 25.14 MB / 1.474 GB, free: 5.777 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) 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) Reference file matches