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.0009682/0.0009683, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008099/0.008099, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005424/0.0005425, allocations: 12.31 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3299, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1807/0.5106, allocations: 172.2 MB / 1.227 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01675/0.5274, allocations: 12.67 MB / 1.239 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.5287, allocations: 27.81 kB / 1.239 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.5299, allocations: 393.5 kB / 1.24 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.533, allocations: 0.9091 MB / 1.24 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004954/0.538, allocations: 1.67 MB / 1.242 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003418/0.5414, allocations: 2.867 MB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.5435, allocations: 1.367 MB / 1.246 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.548, allocations: 1.159 MB / 1.247 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.5491, allocations: 0.7346 MB / 1.248 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.5493, allocations: 44 kB / 1.248 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.552, allocations: 1.419 MB / 1.249 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.5524, allocations: 346.5 kB / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007984/0.5532, allocations: 0.7319 MB / 1.251 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6577/1.211, allocations: 2.658 MB / 1.253 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.211, allocations: 3.797 kB / 1.253 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.211, allocations: 0 / 1.253 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.128e-05/1.211, allocations: 0 / 1.253 GB, free: 7.191 MB / 0.9981 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.003854/1.215, allocations: 1.693 MB / 1.255 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.215, allocations: 10 kB / 1.255 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/1.218, allocations: 417.2 kB / 1.255 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/1.22, allocations: 0.9938 MB / 1.256 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/1.22, allocations: 102.7 kB / 1.256 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/1.22, allocations: 131.5 kB / 1.256 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/1.224, allocations: 1.529 MB / 1.258 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/1.224, allocations: 0 / 1.258 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/1.224, allocations: 60.86 kB / 1.258 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/1.224, allocations: 35.59 kB / 1.258 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/1.227, allocations: 1.589 MB / 1.26 GB, free: 5.582 MB / 0.9981 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.008515/1.235, allocations: 5.363 MB / 1.265 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/1.238, allocations: 1.519 MB / 1.266 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008945/1.239, allocations: 484.5 kB / 1.267 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008219/1.24, allocations: 443.7 kB / 1.267 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/1.241, allocations: 0.6871 MB / 1.268 GB, free: 18.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.146e-06/1.241, allocations: 0 / 1.268 GB, free: 18.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.005074/1.246, allocations: 1.69 MB / 1.269 GB, free: 17.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.246, allocations: 196.8 kB / 1.27 GB, free: 17.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/1.248, allocations: 0.8929 MB / 1.271 GB, free: 17.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/1.248, allocations: 48.92 kB / 1.271 GB, free: 17.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/1.248, allocations: 0.5925 MB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/1.249, allocations: 350.5 kB / 1.271 GB, free: 17.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/1.249, allocations: 93.94 kB / 1.272 GB, free: 17.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.249, allocations: 344.5 kB / 1.272 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009976/1.25, allocations: 402.9 kB / 1.272 GB, free: 16.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.251, allocations: 0.5755 MB / 1.273 GB, free: 16.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/1.253, allocations: 0.9622 MB / 1.274 GB, free: 16.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.253, allocations: 3.062 kB / 1.274 GB, free: 16.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00401/1.257, allocations: 1.244 MB / 1.275 GB, free: 16.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/1.257, allocations: 9.938 kB / 1.275 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.257, allocations: 3.438 kB / 1.275 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/1.258, allocations: 92.34 kB / 1.275 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.26, allocations: 259.2 kB / 1.275 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/1.262, allocations: 1.545 MB / 1.277 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.263, allocations: 170.2 kB / 1.277 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.263, allocations: 52.91 kB / 1.277 GB, free: 14.95 MB / 1.014 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.0008356/1.264, allocations: 346.7 kB / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/1.264, allocations: 124 kB / 1.278 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/1.268, allocations: 1.445 MB / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.268, allocations: 12.98 kB / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/1.268, allocations: 0 / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/1.268, allocations: 5.578 kB / 1.279 GB, free: 14.65 MB / 1.014 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.005099/1.273, allocations: 2.891 MB / 1.282 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.273, allocations: 0.7969 kB / 1.282 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.274, allocations: 218.4 kB / 1.282 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/1.275, allocations: 85.23 kB / 1.282 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-05/1.275, allocations: 34.06 kB / 1.282 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/1.277, allocations: 1.567 MB / 1.284 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.277, allocations: 0 / 1.284 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/1.28, allocations: 1.331 MB / 1.285 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/1.28, allocations: 372.5 kB / 1.285 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/1.281, allocations: 22.12 kB / 1.285 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.282, allocations: 122.8 kB / 1.285 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/1.282, allocations: 85.62 kB / 1.285 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.282, allocations: 53.27 kB / 1.286 GB, free: 12.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009954/1.283, allocations: 0.6118 MB / 1.286 GB, free: 12.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.41e-07/1.283, allocations: 0 / 1.286 GB, free: 12.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001945/1.285, allocations: 0.4896 MB / 1.287 GB, free: 12.21 MB / 1.014 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.001837/1.287, allocations: 0.7196 MB / 1.287 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002639/1.29, allocations: 1.163 MB / 1.288 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.29, allocations: 6.625 kB / 1.288 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.291, allocations: 0.6711 MB / 1.289 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.294, allocations: 0.4961 MB / 1.29 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/1.299, allocations: 2.987 MB / 1.293 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.3, allocations: 1.208 MB / 1.294 GB, free: 9.445 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001807/1.301, allocations: 386.3 kB / 1.294 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/1.302, allocations: 145.5 kB / 1.294 GB, free: 9.324 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/1.302, allocations: 0 / 1.294 GB, free: 9.324 MB / 1.014 GB Notification: Performance of Templates: time 0.04084/1.343, allocations: 23.41 MB / 1.317 GB, free: 5.48 MB / 1.014 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