Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001209/0.001209, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001221/0.001221, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 67.66 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2901, allocations: 151.7 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7344/1.025, allocations: 176.8 MB / 1.191 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01575/1.04, allocations: 12.81 MB / 1.204 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/1.042, allocations: 33.22 kB / 1.204 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/1.043, allocations: 467.6 kB / 1.204 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/1.047, allocations: 1.027 MB / 1.205 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004486/1.051, allocations: 1.88 MB / 1.207 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003048/1.054, allocations: 2.526 MB / 1.21 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/1.056, allocations: 1.604 MB / 1.211 GB, free: 380 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/1.06, allocations: 1.42 MB / 1.213 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/1.061, allocations: 0.8887 MB / 1.214 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/1.061, allocations: 173 kB / 1.214 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/1.064, allocations: 1.422 MB / 1.215 GB, free: 14.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005048/1.065, allocations: 497.2 kB / 1.216 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/1.066, allocations: 0.8714 MB / 1.216 GB, free: 13.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004274/1.07, allocations: 2.797 MB / 1.219 GB, free: 11.36 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.07, allocations: 0 / 1.219 GB, free: 11.36 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/1.07, allocations: 0 / 1.219 GB, free: 11.36 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.615e-05/1.07, allocations: 0 / 1.219 GB, free: 11.36 MB / 0.92 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.003761/1.074, allocations: 2.027 MB / 1.221 GB, free: 9.637 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.074, allocations: 12.03 kB / 1.221 GB, free: 9.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/1.077, allocations: 413.5 kB / 1.222 GB, free: 9.219 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/1.079, allocations: 1.027 MB / 1.223 GB, free: 8.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/1.079, allocations: 98.72 kB / 1.223 GB, free: 8.051 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/1.079, allocations: 132 kB / 1.223 GB, free: 7.922 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/1.082, allocations: 1.517 MB / 1.224 GB, free: 6.328 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/1.082, allocations: 7.938 kB / 1.224 GB, free: 6.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.082, allocations: 60 kB / 1.224 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/1.082, allocations: 32 kB / 1.224 GB, free: 6.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/1.085, allocations: 1.587 MB / 1.226 GB, free: 4.637 MB / 0.92 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.009149/1.094, allocations: 5.303 MB / 1.231 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/1.097, allocations: 1.519 MB / 1.233 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008084/1.097, allocations: 484.6 kB / 1.233 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007787/1.098, allocations: 432.1 kB / 1.233 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/1.099, allocations: 0.6918 MB / 1.234 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=107): time 2.925e-06/1.099, allocations: 0 / 1.234 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107): time 0.004327/1.104, allocations: 1.664 MB / 1.236 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.104, allocations: 196.9 kB / 1.236 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/1.105, allocations: 0.892 MB / 1.237 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.105, allocations: 49.7 kB / 1.237 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/1.106, allocations: 0.5896 MB / 1.237 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/1.106, allocations: 362.9 kB / 1.238 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/1.106, allocations: 218.7 kB / 1.238 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.106, allocations: 349.9 kB / 1.238 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/1.107, allocations: 398.4 kB / 1.239 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009831/1.108, allocations: 0.5707 MB / 1.239 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/1.11, allocations: 0.9527 MB / 1.24 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.11, allocations: 4 kB / 1.24 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002729/1.113, allocations: 1.227 MB / 1.241 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.113, allocations: 11.94 kB / 1.241 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.113, allocations: 4 kB / 1.241 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/1.113, allocations: 88.84 kB / 1.241 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.115, allocations: 255.6 kB / 1.242 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/1.117, allocations: 1.65 MB / 1.243 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.118, allocations: 134.8 kB / 1.243 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.118, allocations: 55.91 kB / 1.244 GB, free: 1.723 MB / 0.9356 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.0006953/1.119, allocations: 350 kB / 1.244 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/1.119, allocations: 126.4 kB / 1.244 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/1.122, allocations: 1.425 MB / 1.245 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.122, allocations: 12 kB / 1.245 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.122, allocations: 0 / 1.245 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.122, allocations: 7.922 kB / 1.245 GB, free: 15.79 MB / 0.9512 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.004872/1.127, allocations: 2.868 MB / 1.248 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.127, allocations: 3.984 kB / 1.248 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.128, allocations: 219.7 kB / 1.248 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/1.129, allocations: 72.8 kB / 1.248 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/1.129, allocations: 31.97 kB / 1.248 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.131, allocations: 1.681 MB / 1.25 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.131, allocations: 0 / 1.25 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/1.133, allocations: 1.318 MB / 1.251 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/1.134, allocations: 363.2 kB / 1.252 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.134, allocations: 23.91 kB / 1.252 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009167/1.135, allocations: 83.41 kB / 1.252 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.135, allocations: 84.83 kB / 1.252 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.136, allocations: 59.95 kB / 1.252 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008644/1.136, allocations: 0.615 MB / 1.253 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/1.136, allocations: 0 / 1.253 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001292/1.138, allocations: 0.491 MB / 1.253 GB, free: 7.621 MB / 0.9512 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.001604/1.139, allocations: 0.7096 MB / 1.254 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002359/1.142, allocations: 1.148 MB / 1.255 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.142, allocations: 4 kB / 1.255 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/1.143, allocations: 0.6797 MB / 1.256 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/1.145, allocations: 0.5286 MB / 1.256 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/1.149, allocations: 2.326 MB / 1.258 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/1.15, allocations: 1.209 MB / 1.26 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001297/1.151, allocations: 385.8 kB / 1.26 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/1.152, allocations: 143.4 kB / 1.26 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of SimCode: time 8.12e-07/1.152, allocations: 3.938 kB / 1.26 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of Templates: time 0.04184/1.193, allocations: 24.53 MB / 1.284 GB, free: 8.422 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches