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.009257/0.009257, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.00212/0.00212, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.408/2.408, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.42 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.271, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1817/0.4527, allocations: 176.1 MB / 1.26 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6429/1.096, allocations: 12.72 MB / 1.272 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/1.097, allocations: 33.47 kB / 1.272 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/1.099, allocations: 448.7 kB / 1.273 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004822/1.104, allocations: 0.9695 MB / 1.274 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00711/1.111, allocations: 1.858 MB / 1.275 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004651/1.116, allocations: 2.408 MB / 1.278 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004001/1.12, allocations: 1.626 MB / 1.279 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005193/1.125, allocations: 1.399 MB / 1.281 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/1.127, allocations: 0.8639 MB / 1.282 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000379/1.128, allocations: 173.3 kB / 1.282 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/1.132, allocations: 1.425 MB / 1.283 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006808/1.132, allocations: 495.5 kB / 1.284 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/1.134, allocations: 0.8539 MB / 1.284 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00634/1.14, allocations: 2.761 MB / 1.287 GB, free: 2.832 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/1.14, allocations: 0 / 1.287 GB, free: 2.832 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.116e-06/1.14, allocations: 6.469 kB / 1.287 GB, free: 2.828 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001069/1.14, allocations: 0 / 1.287 GB, free: 2.828 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.004631/1.145, allocations: 2.003 MB / 1.289 GB, free: 1.828 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/1.145, allocations: 10.16 kB / 1.289 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/1.148, allocations: 407 kB / 1.29 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/1.15, allocations: 1.027 MB / 1.291 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.072e-05/1.15, allocations: 108.2 kB / 1.291 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.15, allocations: 132.2 kB / 1.291 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/1.153, allocations: 1.524 MB / 1.292 GB, free: 1.148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/1.153, allocations: 4.547 kB / 1.292 GB, free: 1.148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/1.153, allocations: 60.88 kB / 1.292 GB, free: 1.148 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/1.153, allocations: 34.66 kB / 1.292 GB, free: 1.148 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/1.156, allocations: 1.582 MB / 1.294 GB, free: 1.133 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 preOpt removeSimpleEquations (simulation): time 0.0073/1.163, allocations: 5.022 MB / 1.299 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/1.166, allocations: 1.522 MB / 1.3 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/1.167, allocations: 483.9 kB / 1.301 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/1.167, allocations: 433.1 kB / 1.301 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/1.169, allocations: 0.6861 MB / 1.302 GB, free: 14.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.296e-06/1.169, allocations: 0 / 1.302 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.004464/1.173, allocations: 1.667 MB / 1.303 GB, free: 13.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.173, allocations: 196 kB / 1.304 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.174, allocations: 0.8941 MB / 1.305 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/1.175, allocations: 46.7 kB / 1.305 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/1.175, allocations: 0.6009 MB / 1.305 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/1.175, allocations: 352 kB / 1.306 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/1.176, allocations: 215.8 kB / 1.306 GB, free: 12.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.176, allocations: 352.6 kB / 1.306 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008276/1.177, allocations: 402.5 kB / 1.306 GB, free: 12.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.178, allocations: 0.5689 MB / 1.307 GB, free: 12.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/1.18, allocations: 0.9595 MB / 1.308 GB, free: 12.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.18, allocations: 1.094 kB / 1.308 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003137/1.183, allocations: 1.232 MB / 1.309 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/1.183, allocations: 7.781 kB / 1.309 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.183, allocations: 3.5 kB / 1.309 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/1.184, allocations: 86.62 kB / 1.309 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.185, allocations: 255.2 kB / 1.309 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/1.187, allocations: 1.648 MB / 1.311 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.189, allocations: 131.5 kB / 1.311 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.189, allocations: 55.19 kB / 1.311 GB, free: 10.77 MB / 1.029 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.001073/1.19, allocations: 351.1 kB / 1.312 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/1.19, allocations: 118.9 kB / 1.312 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/1.194, allocations: 1.428 MB / 1.313 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.194, allocations: 12.78 kB / 1.313 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.194, allocations: 0 / 1.313 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.194, allocations: 13.64 kB / 1.313 GB, free: 10.47 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 postOpt removeSimpleEquations (simulation): time 0.005555/1.2, allocations: 2.864 MB / 1.316 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.2, allocations: 0 / 1.316 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.201, allocations: 223.9 kB / 1.316 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/1.201, allocations: 69.66 kB / 1.316 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/1.201, allocations: 39.27 kB / 1.316 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/1.203, allocations: 1.676 MB / 1.318 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.203, allocations: 0 / 1.318 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/1.206, allocations: 1.327 MB / 1.319 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008117/1.207, allocations: 352.2 kB / 1.319 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/1.208, allocations: 28.98 kB / 1.32 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.209, allocations: 77.98 kB / 1.32 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/1.209, allocations: 84.45 kB / 1.32 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.209, allocations: 53.02 kB / 1.32 GB, free: 8.164 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008223/1.21, allocations: 0.6152 MB / 1.32 GB, free: 8.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.21, allocations: 0.9062 kB / 1.32 GB, free: 8.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001483/1.211, allocations: 494 kB / 1.321 GB, free: 7.965 MB / 1.029 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.001654/1.213, allocations: 0.7 MB / 1.321 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002386/1.215, allocations: 1.154 MB / 1.323 GB, free: 7.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.215, allocations: 4.938 kB / 1.323 GB, free: 7.598 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.217, allocations: 0.6823 MB / 1.323 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.219, allocations: 0.5258 MB / 1.324 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/1.224, allocations: 2.437 MB / 1.326 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/1.225, allocations: 1.21 MB / 1.327 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001441/1.226, allocations: 387.6 kB / 1.328 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.227, allocations: 142.1 kB / 1.328 GB, free: 5.715 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/1.227, allocations: 0 / 1.328 GB, free: 5.715 MB / 1.029 GB Notification: Performance of Templates: time 0.03826/1.265, allocations: 24.18 MB / 1.351 GB, free: 14.59 MB / 1.045 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