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.001571/0.001571, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001842/0.001842, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 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.207/2.207, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 75.88 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8722, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2229/1.095, allocations: 176.1 MB / 1.261 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01937/1.115, allocations: 12.73 MB / 1.273 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/1.117, allocations: 31.81 kB / 1.273 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/1.118, allocations: 456.6 kB / 1.273 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003687/1.122, allocations: 0.9906 MB / 1.274 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005/1.127, allocations: 1.879 MB / 1.276 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003481/1.131, allocations: 2.415 MB / 1.279 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/1.133, allocations: 1.633 MB / 1.28 GB, free: 9.391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/1.138, allocations: 1.438 MB / 1.282 GB, free: 7.977 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/1.139, allocations: 0.8674 MB / 1.282 GB, free: 7.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006164/1.14, allocations: 172 kB / 1.283 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/1.143, allocations: 1.423 MB / 1.284 GB, free: 5.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000631/1.144, allocations: 494.5 kB / 1.284 GB, free: 5.027 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/1.145, allocations: 0.8512 MB / 1.285 GB, free: 4.172 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005054/1.15, allocations: 2.761 MB / 1.288 GB, free: 1.402 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.15, allocations: 4 kB / 1.288 GB, free: 1.398 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/1.15, allocations: 0 / 1.288 GB, free: 1.398 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.442e-05/1.151, allocations: 0 / 1.288 GB, free: 1.398 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.004827/1.155, allocations: 2.005 MB / 1.29 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.155, allocations: 15.95 kB / 1.29 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/1.158, allocations: 405.5 kB / 1.29 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/1.16, allocations: 1.023 MB / 1.291 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.161, allocations: 102.7 kB / 1.291 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/1.161, allocations: 136 kB / 1.292 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/1.164, allocations: 1.524 MB / 1.293 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/1.164, allocations: 0 / 1.293 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/1.164, allocations: 63.98 kB / 1.293 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/1.164, allocations: 32 kB / 1.293 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/1.167, allocations: 1.579 MB / 1.295 GB, free: 10.34 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.008116/1.175, allocations: 5.032 MB / 1.3 GB, free: 5.039 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/1.178, allocations: 1.515 MB / 1.301 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009529/1.179, allocations: 491.4 kB / 1.302 GB, free: 2.973 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/1.18, allocations: 425.3 kB / 1.302 GB, free: 2.484 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/1.182, allocations: 0.684 MB / 1.303 GB, free: 1.777 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.647e-06/1.182, allocations: 0 / 1.303 GB, free: 1.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.004682/1.186, allocations: 1.672 MB / 1.304 GB, free: 84 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/1.186, allocations: 196.9 kB / 1.304 GB, free: 15.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.188, allocations: 0.892 MB / 1.305 GB, free: 14.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.188, allocations: 49.7 kB / 1.305 GB, free: 14.88 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/1.189, allocations: 0.5974 MB / 1.306 GB, free: 14.27 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/1.189, allocations: 350.9 kB / 1.306 GB, free: 13.92 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/1.189, allocations: 214.8 kB / 1.306 GB, free: 13.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.189, allocations: 349.9 kB / 1.307 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008254/1.19, allocations: 394.4 kB / 1.307 GB, free: 12.97 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/1.191, allocations: 0.5785 MB / 1.308 GB, free: 12.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/1.193, allocations: 0.9488 MB / 1.309 GB, free: 11.36 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.193, allocations: 0 / 1.309 GB, free: 11.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002863/1.196, allocations: 1.239 MB / 1.31 GB, free: 10.1 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.196, allocations: 8 kB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.196, allocations: 0 / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/1.197, allocations: 89.11 kB / 1.31 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/1.198, allocations: 263.6 kB / 1.31 GB, free: 9.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/1.2, allocations: 1.649 MB / 1.312 GB, free: 7.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.201, allocations: 134.9 kB / 1.312 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.201, allocations: 51.97 kB / 1.312 GB, free: 7.773 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.0007255/1.202, allocations: 347.7 kB / 1.312 GB, free: 7.422 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/1.202, allocations: 118.6 kB / 1.312 GB, free: 7.305 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/1.206, allocations: 1.433 MB / 1.314 GB, free: 5.859 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.206, allocations: 16 kB / 1.314 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.206, allocations: 4 kB / 1.314 GB, free: 5.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.206, allocations: 3.984 kB / 1.314 GB, free: 5.836 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.00537/1.211, allocations: 2.872 MB / 1.317 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.211, allocations: 3.984 kB / 1.317 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/1.212, allocations: 223.7 kB / 1.317 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/1.213, allocations: 64.8 kB / 1.317 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/1.213, allocations: 35.97 kB / 1.317 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/1.215, allocations: 1.674 MB / 1.319 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.215, allocations: 0 / 1.319 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/1.218, allocations: 1.334 MB / 1.32 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007158/1.219, allocations: 355.2 kB / 1.32 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/1.219, allocations: 23.94 kB / 1.32 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.22, allocations: 90.72 kB / 1.32 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.22, allocations: 84.83 kB / 1.32 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.22, allocations: 51.95 kB / 1.321 GB, free: 14.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001092/1.222, allocations: 0.615 MB / 1.321 GB, free: 14.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.4e-07/1.222, allocations: 0 / 1.321 GB, free: 14.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001604/1.223, allocations: 494.7 kB / 1.322 GB, free: 13.66 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.001895/1.225, allocations: 0.707 MB / 1.322 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002594/1.228, allocations: 1.148 MB / 1.323 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.228, allocations: 4 kB / 1.323 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/1.229, allocations: 0.6719 MB / 1.324 GB, free: 11.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.232, allocations: 0.5226 MB / 1.325 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/1.237, allocations: 2.495 MB / 1.327 GB, free: 8.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.238, allocations: 1.201 MB / 1.328 GB, free: 7.023 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/1.239, allocations: 155.4 kB / 1.328 GB, free: 6.871 MB / 1.061 GB Notification: Performance of SimCode: time 8.51e-07/1.239, allocations: 7.938 kB / 1.328 GB, free: 6.863 MB / 1.061 GB Notification: Performance of Templates: time 0.0404/1.28, allocations: 28.32 MB / 1.356 GB, free: 10.67 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,senTem.T,senRelHum.phi,senMasFra.X Variables in the result:senMasFra.X,senRelHum.phi,senTem.T,time