Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001262/0.001262, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001267/0.001267, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 469.8 MB / 0.7427 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 66.66 kB / 0.9087 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3289, allocations: 159.2 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2032/0.5321, allocations: 174.4 MB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.5513, allocations: 12.68 MB / 1.247 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.5528, allocations: 27.81 kB / 1.247 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.5544, allocations: 397.5 kB / 1.247 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.5578, allocations: 0.9327 MB / 1.248 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6105/1.168, allocations: 1.703 MB / 1.25 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003545/1.172, allocations: 2.522 MB / 1.252 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/1.175, allocations: 1.595 MB / 1.254 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00529/1.18, allocations: 1.401 MB / 1.255 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/1.182, allocations: 0.9063 MB / 1.256 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002997/1.182, allocations: 171 kB / 1.256 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/1.184, allocations: 1.443 MB / 1.258 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004095/1.185, allocations: 490.9 kB / 1.258 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009819/1.186, allocations: 0.8798 MB / 1.259 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/1.189, allocations: 2.071 MB / 1.261 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.189, allocations: 1.719 kB / 1.261 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/1.189, allocations: 0 / 1.261 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.024e-05/1.189, allocations: 3.828 kB / 1.261 GB, free: 5.527 MB / 0.9981 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.004019/1.193, allocations: 2.021 MB / 1.263 GB, free: 20.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/1.193, allocations: 11.41 kB / 1.263 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/1.196, allocations: 408.1 kB / 1.263 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.198, allocations: 0.9904 MB / 1.264 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/1.198, allocations: 100.3 kB / 1.264 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.198, allocations: 135.3 kB / 1.265 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/1.201, allocations: 1.523 MB / 1.266 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.201, allocations: 4.859 kB / 1.266 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/1.201, allocations: 63.86 kB / 1.266 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/1.201, allocations: 32.5 kB / 1.266 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/1.204, allocations: 1.579 MB / 1.268 GB, free: 19.85 MB / 1.014 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.00909/1.213, allocations: 5.323 MB / 1.273 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/1.216, allocations: 1.516 MB / 1.274 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008753/1.217, allocations: 479.8 kB / 1.275 GB, free: 16.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008322/1.218, allocations: 430 kB / 1.275 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/1.219, allocations: 0.6843 MB / 1.276 GB, free: 16.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.467e-06/1.219, allocations: 1.469 kB / 1.276 GB, free: 16.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004435/1.224, allocations: 1.674 MB / 1.278 GB, free: 16.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.224, allocations: 193 kB / 1.278 GB, free: 16.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.225, allocations: 0.894 MB / 1.279 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/1.225, allocations: 46.95 kB / 1.279 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/1.226, allocations: 0.5989 MB / 1.279 GB, free: 15.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/1.226, allocations: 355.8 kB / 1.28 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/1.227, allocations: 217.1 kB / 1.28 GB, free: 15.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.227, allocations: 348.8 kB / 1.28 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/1.227, allocations: 397.6 kB / 1.281 GB, free: 15.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/1.228, allocations: 0.5702 MB / 1.281 GB, free: 14.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/1.23, allocations: 0.9602 MB / 1.282 GB, free: 14.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.23, allocations: 1.25 kB / 1.282 GB, free: 14.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002762/1.233, allocations: 1.234 MB / 1.283 GB, free: 14.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.233, allocations: 7.75 kB / 1.283 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.233, allocations: 4.672 kB / 1.283 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/1.234, allocations: 86.23 kB / 1.283 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.235, allocations: 259.9 kB / 1.284 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/1.237, allocations: 1.654 MB / 1.285 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.238, allocations: 150.5 kB / 1.285 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.239, allocations: 54.61 kB / 1.285 GB, free: 13.2 MB / 1.014 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.0007892/1.239, allocations: 351.7 kB / 1.286 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/1.24, allocations: 118.8 kB / 1.286 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/1.243, allocations: 1.43 MB / 1.287 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.243, allocations: 12.5 kB / 1.287 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.243, allocations: 1.969 kB / 1.287 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.243, allocations: 6.609 kB / 1.287 GB, free: 12.9 MB / 1.014 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.004981/1.248, allocations: 2.885 MB / 1.29 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.248, allocations: 1.844 kB / 1.29 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/1.249, allocations: 220.8 kB / 1.29 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/1.249, allocations: 75.83 kB / 1.29 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/1.249, allocations: 31.52 kB / 1.29 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/1.251, allocations: 1.678 MB / 1.292 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.251, allocations: 2.203 kB / 1.292 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/1.254, allocations: 1.327 MB / 1.293 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006857/1.255, allocations: 351.1 kB / 1.294 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/1.255, allocations: 31.44 kB / 1.294 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.256, allocations: 106.6 kB / 1.294 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/1.256, allocations: 81.12 kB / 1.294 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.257, allocations: 55.06 kB / 1.294 GB, free: 10.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000872/1.257, allocations: 0.6191 MB / 1.294 GB, free: 10.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.257, allocations: 1.531 kB / 1.294 GB, free: 10.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001533/1.259, allocations: 0.4906 MB / 1.295 GB, free: 10.39 MB / 1.014 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.002198/1.261, allocations: 0.7133 MB / 1.296 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003546/1.265, allocations: 1.468 MB / 1.297 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.265, allocations: 1.5 kB / 1.297 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/1.266, allocations: 0.6743 MB / 1.298 GB, free: 9.926 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.268, allocations: 0.5294 MB / 1.298 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/1.273, allocations: 2.996 MB / 1.301 GB, free: 8.383 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/1.274, allocations: 1.216 MB / 1.302 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/1.274, allocations: 154.5 kB / 1.303 GB, free: 7.656 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/1.274, allocations: 3.781 kB / 1.303 GB, free: 7.656 MB / 1.014 GB Notification: Performance of Templates: time 0.03769/1.312, allocations: 28.41 MB / 1.33 GB, free: 0.5781 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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