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.001542/0.001542, allocations: 107 kB / 16.41 MB, free: 6.492 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.001719/0.001719, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.357/1.357, allocations: 222.9 MB / 241 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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9593/0.9608, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2081/1.169, allocations: 176 MB / 1.261 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01702/1.186, allocations: 12.74 MB / 1.273 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/1.188, allocations: 31.81 kB / 1.273 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/1.19, allocations: 452.6 kB / 1.273 GB, free: 428 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003371/1.193, allocations: 0.9947 MB / 1.274 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004766/1.198, allocations: 1.88 MB / 1.276 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003741/1.201, allocations: 2.415 MB / 1.279 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/1.204, allocations: 1.629 MB / 1.28 GB, free: 9.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/1.208, allocations: 1.434 MB / 1.282 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/1.21, allocations: 0.8674 MB / 1.282 GB, free: 7.168 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005182/1.21, allocations: 175.9 kB / 1.283 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/1.213, allocations: 1.423 MB / 1.284 GB, free: 5.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006546/1.214, allocations: 494.5 kB / 1.284 GB, free: 5.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.215, allocations: 0.8513 MB / 1.285 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004699/1.22, allocations: 2.761 MB / 1.288 GB, free: 1.461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.22, allocations: 0 / 1.288 GB, free: 1.461 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.22, allocations: 0 / 1.288 GB, free: 1.461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.13e-05/1.22, allocations: 0 / 1.288 GB, free: 1.461 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.003731/1.224, allocations: 2.009 MB / 1.29 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.224, allocations: 12.03 kB / 1.29 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/1.227, allocations: 405.5 kB / 1.29 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/1.229, allocations: 1.027 MB / 1.291 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.622e-05/1.229, allocations: 102.7 kB / 1.291 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/1.229, allocations: 132 kB / 1.292 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/1.232, allocations: 1.528 MB / 1.293 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.232, allocations: 0 / 1.293 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/1.232, allocations: 63.94 kB / 1.293 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/1.232, allocations: 32 kB / 1.293 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/1.235, allocations: 1.587 MB / 1.295 GB, free: 10.39 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.007328/1.242, allocations: 5.024 MB / 1.3 GB, free: 5.098 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/1.245, allocations: 1.519 MB / 1.301 GB, free: 3.504 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008559/1.245, allocations: 487.4 kB / 1.302 GB, free: 3.031 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007304/1.246, allocations: 421.3 kB / 1.302 GB, free: 2.547 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/1.247, allocations: 0.6919 MB / 1.303 GB, free: 1.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.367e-06/1.247, allocations: 0 / 1.303 GB, free: 1.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.004233/1.252, allocations: 1.664 MB / 1.304 GB, free: 148 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/1.252, allocations: 204.8 kB / 1.304 GB, free: 15.9 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/1.253, allocations: 0.8882 MB / 1.305 GB, free: 14.99 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/1.253, allocations: 49.7 kB / 1.305 GB, free: 14.93 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/1.254, allocations: 0.5896 MB / 1.306 GB, free: 14.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/1.254, allocations: 354.9 kB / 1.306 GB, free: 13.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/1.254, allocations: 214.8 kB / 1.306 GB, free: 13.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.254, allocations: 349.9 kB / 1.307 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000777/1.255, allocations: 394.4 kB / 1.307 GB, free: 13.04 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/1.256, allocations: 0.5745 MB / 1.308 GB, free: 12.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.258, allocations: 0.9605 MB / 1.309 GB, free: 11.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.258, allocations: 0 / 1.309 GB, free: 11.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002858/1.261, allocations: 1.239 MB / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.261, allocations: 4 kB / 1.31 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.261, allocations: 4 kB / 1.31 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/1.261, allocations: 84.97 kB / 1.31 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.263, allocations: 259.6 kB / 1.31 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/1.265, allocations: 1.65 MB / 1.312 GB, free: 8.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/1.266, allocations: 134.8 kB / 1.312 GB, free: 7.883 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.266, allocations: 51.95 kB / 1.312 GB, free: 7.832 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.0006987/1.267, allocations: 352.3 kB / 1.312 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/1.267, allocations: 122.8 kB / 1.312 GB, free: 7.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/1.27, allocations: 1.429 MB / 1.314 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/1.27, allocations: 12 kB / 1.314 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.27, allocations: 0 / 1.314 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.27, allocations: 3.984 kB / 1.314 GB, free: 5.898 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.004752/1.275, allocations: 2.879 MB / 1.317 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.275, allocations: 0 / 1.317 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009664/1.276, allocations: 215.7 kB / 1.317 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/1.276, allocations: 76.78 kB / 1.317 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/1.276, allocations: 31.97 kB / 1.317 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/1.278, allocations: 1.674 MB / 1.319 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.278, allocations: 0 / 1.319 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.281, allocations: 1.326 MB / 1.32 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005891/1.282, allocations: 355.2 kB / 1.32 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/1.282, allocations: 31.88 kB / 1.32 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/1.283, allocations: 71.92 kB / 1.32 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.283, allocations: 92.81 kB / 1.32 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.283, allocations: 55.95 kB / 1.321 GB, free: 14.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008711/1.284, allocations: 0.615 MB / 1.321 GB, free: 14.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.525e-06/1.284, allocations: 0 / 1.321 GB, free: 14.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001407/1.285, allocations: 494.7 kB / 1.322 GB, free: 13.72 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.001661/1.287, allocations: 0.7088 MB / 1.322 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.289, allocations: 1.148 MB / 1.323 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.289, allocations: 0 / 1.323 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.291, allocations: 0.6796 MB / 1.324 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.293, allocations: 0.5222 MB / 1.325 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/1.298, allocations: 2.491 MB / 1.327 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/1.299, allocations: 1.205 MB / 1.328 GB, free: 7.082 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/1.3, allocations: 159.3 kB / 1.328 GB, free: 6.926 MB / 1.061 GB Notification: Performance of SimCode: time 8.21e-07/1.3, allocations: 3.938 kB / 1.328 GB, free: 6.922 MB / 1.061 GB Notification: Performance of Templates: time 0.0371/1.337, allocations: 28.32 MB / 1.356 GB, free: 10.73 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