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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00145/0.00145, allocations: 109 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.001471/0.001471, allocations: 189.5 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8416/0.843, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1875/1.031, allocations: 176.8 MB / 1.34 GB, free: 2.387 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01916/1.05, allocations: 12.79 MB / 1.352 GB, free: 5.547 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/1.052, allocations: 35.81 kB / 1.352 GB, free: 5.512 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/1.054, allocations: 480.4 kB / 1.353 GB, free: 5.039 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004421/1.058, allocations: 1.056 MB / 1.354 GB, free: 3.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007589/1.066, allocations: 1.886 MB / 1.356 GB, free: 2.102 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004462/1.07, allocations: 2.543 MB / 1.358 GB, free: 15.55 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/1.073, allocations: 1.602 MB / 1.36 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004735/1.078, allocations: 1.464 MB / 1.361 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/1.08, allocations: 0.8791 MB / 1.362 GB, free: 11.57 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006746/1.081, allocations: 176 kB / 1.362 GB, free: 11.4 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/1.084, allocations: 1.427 MB / 1.364 GB, free: 9.973 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008079/1.085, allocations: 494.5 kB / 1.364 GB, free: 9.488 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/1.087, allocations: 0.8747 MB / 1.365 GB, free: 8.609 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005371/1.092, allocations: 2.792 MB / 1.368 GB, free: 5.809 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/1.092, allocations: 4 kB / 1.368 GB, free: 5.805 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.084e-06/1.092, allocations: 0 / 1.368 GB, free: 5.805 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.274e-05/1.092, allocations: 0 / 1.368 GB, free: 5.805 MB / 1.092 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.004818/1.097, allocations: 2.032 MB / 1.37 GB, free: 3.711 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.097, allocations: 8.031 kB / 1.37 GB, free: 3.703 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/1.1, allocations: 413.5 kB / 1.37 GB, free: 3.297 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/1.102, allocations: 1.023 MB / 1.371 GB, free: 2.227 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.103, allocations: 106.7 kB / 1.371 GB, free: 2.121 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/1.103, allocations: 128 kB / 1.371 GB, free: 1.996 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/1.106, allocations: 1.517 MB / 1.373 GB, free: 412 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/1.106, allocations: 3.984 kB / 1.373 GB, free: 408 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/1.106, allocations: 67.98 kB / 1.373 GB, free: 340 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/1.106, allocations: 32 kB / 1.373 GB, free: 308 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002868/1.109, allocations: 1.579 MB / 1.375 GB, free: 14.71 MB / 1.107 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.008292/1.118, allocations: 5.295 MB / 1.38 GB, free: 9.102 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/1.12, allocations: 1.523 MB / 1.381 GB, free: 7.504 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008661/1.121, allocations: 482.4 kB / 1.382 GB, free: 7.027 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007827/1.122, allocations: 425.3 kB / 1.382 GB, free: 6.539 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/1.123, allocations: 0.6956 MB / 1.383 GB, free: 5.828 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.857e-06/1.123, allocations: 0 / 1.383 GB, free: 5.828 MB / 1.107 GB Notification: Performance of matching and sorting (n=107): time 0.004498/1.128, allocations: 1.664 MB / 1.384 GB, free: 4.133 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.128, allocations: 196.9 kB / 1.385 GB, free: 3.898 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/1.13, allocations: 0.892 MB / 1.385 GB, free: 2.984 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/1.13, allocations: 49.7 kB / 1.385 GB, free: 2.93 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/1.13, allocations: 0.5975 MB / 1.386 GB, free: 2.324 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/1.131, allocations: 354.8 kB / 1.386 GB, free: 1.973 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/1.131, allocations: 214.7 kB / 1.387 GB, free: 1.758 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.131, allocations: 361.9 kB / 1.387 GB, free: 1.398 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/1.132, allocations: 390.4 kB / 1.387 GB, free: 1.016 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009734/1.133, allocations: 0.5668 MB / 1.388 GB, free: 408 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/1.135, allocations: 0.9604 MB / 1.389 GB, free: 15.39 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.135, allocations: 3.938 kB / 1.389 GB, free: 15.39 MB / 1.123 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003013/1.138, allocations: 1.235 MB / 1.39 GB, free: 14.14 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/1.138, allocations: 8.062 kB / 1.39 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.138, allocations: 4 kB / 1.39 GB, free: 14.13 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/1.139, allocations: 88.77 kB / 1.39 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.14, allocations: 255.7 kB / 1.39 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/1.142, allocations: 1.656 MB / 1.392 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.143, allocations: 136 kB / 1.392 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.143, allocations: 51.97 kB / 1.392 GB, free: 11.81 MB / 1.123 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.0008039/1.144, allocations: 339.4 kB / 1.392 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004042/1.144, allocations: 122.5 kB / 1.393 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/1.148, allocations: 1.433 MB / 1.394 GB, free: 9.902 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/1.148, allocations: 15.94 kB / 1.394 GB, free: 9.887 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.148, allocations: 48 / 1.394 GB, free: 9.887 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/1.148, allocations: 15.95 kB / 1.394 GB, free: 9.871 MB / 1.123 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.005621/1.154, allocations: 2.868 MB / 1.397 GB, free: 6.922 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.154, allocations: 0 / 1.397 GB, free: 6.922 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.155, allocations: 215.8 kB / 1.397 GB, free: 6.711 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/1.155, allocations: 76.72 kB / 1.397 GB, free: 6.633 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.155, allocations: 39.91 kB / 1.397 GB, free: 6.594 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/1.157, allocations: 1.666 MB / 1.399 GB, free: 4.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.157, allocations: 0 / 1.399 GB, free: 4.77 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/1.16, allocations: 1.322 MB / 1.4 GB, free: 3.43 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008078/1.161, allocations: 351.2 kB / 1.4 GB, free: 3.066 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002806/1.161, allocations: 31.98 kB / 1.4 GB, free: 3.035 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.163, allocations: 85.3 kB / 1.4 GB, free: 2.953 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.163, allocations: 84.81 kB / 1.401 GB, free: 2.867 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.163, allocations: 51.97 kB / 1.401 GB, free: 2.816 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001097/1.164, allocations: 0.6228 MB / 1.401 GB, free: 2.184 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.164, allocations: 0 / 1.401 GB, free: 2.184 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001496/1.166, allocations: 498.9 kB / 1.402 GB, free: 1.695 MB / 1.123 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.001882/1.167, allocations: 0.7034 MB / 1.402 GB, free: 1.152 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002599/1.17, allocations: 1.152 MB / 1.404 GB, free: 15.99 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.17, allocations: 3.938 kB / 1.404 GB, free: 15.98 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.171, allocations: 0.6797 MB / 1.404 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.174, allocations: 0.5282 MB / 1.405 GB, free: 14.79 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/1.179, allocations: 2.378 MB / 1.407 GB, free: 12.38 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009768/1.18, allocations: 1.205 MB / 1.408 GB, free: 11.14 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/1.18, allocations: 163.2 kB / 1.408 GB, free: 10.98 MB / 1.139 GB Notification: Performance of SimCode: time 8.31e-07/1.18, allocations: 4 kB / 1.408 GB, free: 10.98 MB / 1.139 GB Notification: Performance of Templates: time 0.04235/1.223, allocations: 28.54 MB / 1.436 GB, free: 14.53 MB / 1.17 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 -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) "" Variables in the reference:time,senTem.T,senRelHum.phi,senMasFra.X Variables in the result:senMasFra.X,senRelHum.phi,senTem.T,time