Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006895/0.006895, allocations: 100.2 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.001528/0.001529, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8231/0.8244, allocations: 140.4 MB / 1.088 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2069/1.031, allocations: 176 MB / 1.26 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01587/1.047, allocations: 12.74 MB / 1.272 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/1.049, allocations: 35.81 kB / 1.272 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/1.05, allocations: 456.6 kB / 1.273 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003365/1.054, allocations: 0.987 MB / 1.274 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005121/1.059, allocations: 1.883 MB / 1.276 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003006/1.062, allocations: 2.415 MB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/1.064, allocations: 1.629 MB / 1.279 GB, free: 9.559 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005139/1.069, allocations: 1.443 MB / 1.281 GB, free: 8.141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/1.071, allocations: 0.8596 MB / 1.282 GB, free: 7.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00066/1.072, allocations: 172 kB / 1.282 GB, free: 7.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/1.076, allocations: 1.431 MB / 1.283 GB, free: 5.676 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007207/1.076, allocations: 490.5 kB / 1.284 GB, free: 5.195 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/1.078, allocations: 0.8396 MB / 1.285 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004637/1.082, allocations: 2.769 MB / 1.287 GB, free: 1.574 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.082, allocations: 0 / 1.287 GB, free: 1.574 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/1.082, allocations: 4 kB / 1.287 GB, free: 1.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.626e-05/1.082, allocations: 0 / 1.287 GB, free: 1.57 MB / 1.014 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.004362/1.087, allocations: 2.005 MB / 1.289 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.087, allocations: 16.03 kB / 1.289 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00271/1.09, allocations: 405.5 kB / 1.29 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/1.091, allocations: 1.023 MB / 1.291 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/1.091, allocations: 102.7 kB / 1.291 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/1.092, allocations: 128 kB / 1.291 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/1.094, allocations: 1.524 MB / 1.292 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/1.094, allocations: 0 / 1.292 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/1.094, allocations: 63.94 kB / 1.292 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/1.094, allocations: 32 kB / 1.292 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/1.097, allocations: 1.587 MB / 1.294 GB, free: 10.51 MB / 1.029 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.006911/1.104, allocations: 5.032 MB / 1.299 GB, free: 5.211 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/1.106, allocations: 1.519 MB / 1.3 GB, free: 3.617 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008241/1.107, allocations: 481.8 kB / 1.301 GB, free: 3.152 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007335/1.108, allocations: 433.3 kB / 1.301 GB, free: 2.656 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/1.109, allocations: 0.6841 MB / 1.302 GB, free: 1.949 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.266e-06/1.109, allocations: 4 kB / 1.302 GB, free: 1.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.00433/1.114, allocations: 1.664 MB / 1.304 GB, free: 264 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.114, allocations: 204.8 kB / 1.304 GB, free: 12 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/1.115, allocations: 0.892 MB / 1.305 GB, free: 15.1 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.35e-05/1.115, allocations: 53.7 kB / 1.305 GB, free: 15.04 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/1.115, allocations: 0.5935 MB / 1.305 GB, free: 14.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/1.116, allocations: 354.9 kB / 1.306 GB, free: 14.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/1.116, allocations: 218.8 kB / 1.306 GB, free: 13.87 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002512/1.116, allocations: 341.9 kB / 1.306 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008411/1.117, allocations: 402.4 kB / 1.307 GB, free: 13.13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009842/1.118, allocations: 0.5706 MB / 1.307 GB, free: 12.51 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/1.12, allocations: 0.9566 MB / 1.308 GB, free: 11.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.12, allocations: 0 / 1.308 GB, free: 11.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002822/1.123, allocations: 1.235 MB / 1.309 GB, free: 10.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.123, allocations: 4 kB / 1.309 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.123, allocations: 4 kB / 1.309 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/1.124, allocations: 89.17 kB / 1.309 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.125, allocations: 255.6 kB / 1.31 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/1.127, allocations: 1.642 MB / 1.311 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.128, allocations: 138.8 kB / 1.311 GB, free: 7.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/1.128, allocations: 47.97 kB / 1.311 GB, free: 7.949 MB / 1.045 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.0007044/1.129, allocations: 349.9 kB / 1.312 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/1.129, allocations: 122.6 kB / 1.312 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/1.132, allocations: 1.433 MB / 1.313 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.132, allocations: 15.94 kB / 1.313 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.132, allocations: 0 / 1.313 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.132, allocations: 7.969 kB / 1.313 GB, free: 6.008 MB / 1.045 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.004534/1.137, allocations: 2.875 MB / 1.316 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.137, allocations: 0 / 1.316 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009757/1.138, allocations: 223.7 kB / 1.316 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/1.138, allocations: 72.78 kB / 1.316 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/1.138, allocations: 35.97 kB / 1.316 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/1.14, allocations: 1.666 MB / 1.318 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.14, allocations: 0 / 1.318 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/1.143, allocations: 1.334 MB / 1.319 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/1.143, allocations: 347.2 kB / 1.32 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.143, allocations: 31.92 kB / 1.32 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/1.144, allocations: 79.73 kB / 1.32 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.144, allocations: 88.81 kB / 1.32 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.145, allocations: 51.97 kB / 1.32 GB, free: 14.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000831/1.145, allocations: 0.6189 MB / 1.32 GB, free: 14.31 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.004e-06/1.145, allocations: 0 / 1.32 GB, free: 14.31 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001303/1.147, allocations: 490.7 kB / 1.321 GB, free: 13.83 MB / 1.061 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.001664/1.148, allocations: 0.7096 MB / 1.322 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00238/1.151, allocations: 1.152 MB / 1.323 GB, free: 12.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.151, allocations: 0 / 1.323 GB, free: 12.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.152, allocations: 0.6761 MB / 1.323 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/1.154, allocations: 0.5241 MB / 1.324 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/1.159, allocations: 2.432 MB / 1.326 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009527/1.16, allocations: 1.209 MB / 1.327 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001349/1.162, allocations: 393.7 kB / 1.328 GB, free: 6.867 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/1.162, allocations: 139.4 kB / 1.328 GB, free: 6.73 MB / 1.061 GB Notification: Performance of SimCode: time 1.212e-06/1.162, allocations: 0 / 1.328 GB, free: 6.73 MB / 1.061 GB Notification: Performance of Templates: time 0.04524/1.207, allocations: 24.18 MB / 1.352 GB, free: 14.87 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches