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.001769/0.001769, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.002018/0.002018, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 14.96 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.482/2.482, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 64.28 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3172, allocations: 151.6 MB / 1.019 GB, free: 9.922 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7065/1.024, allocations: 176.8 MB / 1.191 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01717/1.041, allocations: 12.82 MB / 1.204 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/1.043, allocations: 33.56 kB / 1.204 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/1.044, allocations: 467.2 kB / 1.204 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003788/1.048, allocations: 1.027 MB / 1.205 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004933/1.053, allocations: 1.877 MB / 1.207 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003378/1.056, allocations: 2.531 MB / 1.21 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/1.059, allocations: 1.599 MB / 1.211 GB, free: 404 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/1.063, allocations: 1.417 MB / 1.213 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/1.064, allocations: 0.8806 MB / 1.214 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004199/1.065, allocations: 171.3 kB / 1.214 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/1.068, allocations: 1.424 MB / 1.215 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/1.069, allocations: 497.5 kB / 1.216 GB, free: 13.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000918/1.069, allocations: 0.8696 MB / 1.216 GB, free: 13.31 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003538/1.073, allocations: 2.794 MB / 1.219 GB, free: 11.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.073, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/1.073, allocations: 4 kB / 1.219 GB, free: 11.39 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.456e-05/1.073, allocations: 0 / 1.219 GB, free: 11.39 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.003365/1.076, allocations: 2.032 MB / 1.221 GB, free: 9.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.077, allocations: 12.92 kB / 1.221 GB, free: 9.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/1.079, allocations: 409.5 kB / 1.222 GB, free: 9.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/1.081, allocations: 1.023 MB / 1.223 GB, free: 8.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.977e-05/1.081, allocations: 98.72 kB / 1.223 GB, free: 8.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/1.081, allocations: 140 kB / 1.223 GB, free: 7.965 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/1.084, allocations: 1.524 MB / 1.224 GB, free: 6.363 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/1.084, allocations: 0 / 1.224 GB, free: 6.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/1.084, allocations: 63.98 kB / 1.224 GB, free: 6.301 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/1.084, allocations: 32 kB / 1.224 GB, free: 6.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/1.087, allocations: 1.587 MB / 1.226 GB, free: 4.676 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.007576/1.094, allocations: 5.31 MB / 1.231 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/1.097, allocations: 1.519 MB / 1.233 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/1.098, allocations: 484.6 kB / 1.233 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008076/1.099, allocations: 432.1 kB / 1.233 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/1.1, allocations: 0.6879 MB / 1.234 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=107): time 2.876e-06/1.1, allocations: 3.938 kB / 1.234 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107): time 0.004301/1.104, allocations: 1.668 MB / 1.236 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/1.104, allocations: 196.9 kB / 1.236 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.105, allocations: 0.892 MB / 1.237 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.032e-05/1.105, allocations: 49.7 kB / 1.237 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/1.106, allocations: 0.5936 MB / 1.237 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/1.106, allocations: 358.9 kB / 1.238 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/1.107, allocations: 214.7 kB / 1.238 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.107, allocations: 349.9 kB / 1.238 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007981/1.107, allocations: 394.4 kB / 1.239 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/1.108, allocations: 0.5785 MB / 1.239 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/1.11, allocations: 0.9488 MB / 1.24 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.11, allocations: 4 kB / 1.24 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002999/1.113, allocations: 1.227 MB / 1.241 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/1.113, allocations: 11.94 kB / 1.241 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.113, allocations: 0 / 1.241 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/1.114, allocations: 89.17 kB / 1.241 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.115, allocations: 251.7 kB / 1.242 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/1.117, allocations: 1.654 MB / 1.243 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.119, allocations: 138.9 kB / 1.243 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/1.119, allocations: 55.91 kB / 1.244 GB, free: 1.758 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.0006496/1.119, allocations: 341.5 kB / 1.244 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/1.12, allocations: 126.4 kB / 1.244 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/1.123, allocations: 1.421 MB / 1.245 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.123, allocations: 16 kB / 1.245 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.123, allocations: 0 / 1.245 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/1.123, allocations: 7.969 kB / 1.245 GB, free: 15.84 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.005417/1.128, allocations: 2.872 MB / 1.248 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.128, allocations: 0 / 1.248 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.129, allocations: 219.8 kB / 1.248 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/1.13, allocations: 76.72 kB / 1.248 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/1.13, allocations: 31.97 kB / 1.248 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/1.132, allocations: 1.673 MB / 1.25 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.132, allocations: 0 / 1.25 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/1.135, allocations: 1.326 MB / 1.251 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007465/1.136, allocations: 355.2 kB / 1.252 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/1.136, allocations: 27.89 kB / 1.252 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.137, allocations: 81.95 kB / 1.252 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/1.137, allocations: 88.81 kB / 1.252 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.137, allocations: 51.97 kB / 1.252 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009176/1.138, allocations: 0.6189 MB / 1.253 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.138, allocations: 0 / 1.253 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001413/1.14, allocations: 494.9 kB / 1.253 GB, free: 7.672 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.001755/1.141, allocations: 0.7173 MB / 1.254 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002381/1.144, allocations: 1.148 MB / 1.255 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.144, allocations: 4 kB / 1.255 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/1.145, allocations: 0.6798 MB / 1.256 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/1.147, allocations: 0.5334 MB / 1.256 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/1.151, allocations: 2.328 MB / 1.258 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/1.152, allocations: 1.209 MB / 1.26 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001275/1.154, allocations: 389.9 kB / 1.26 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/1.154, allocations: 135.4 kB / 1.26 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/1.154, allocations: 0 / 1.26 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of Templates: time 0.03992/1.194, allocations: 24.53 MB / 1.284 GB, free: 8.453 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 gbode -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