Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001674/0.001674, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001972/0.001973, allocations: 197.2 kB / 16.25 MB, free: 6.625 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.7 MB / 0.7449 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 67.12 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.311, allocations: 159.9 MB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1969/0.5079, allocations: 174.4 MB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6513/1.159, allocations: 12.65 MB / 1.25 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/1.161, allocations: 31.72 kB / 1.25 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/1.162, allocations: 394.1 kB / 1.251 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/1.166, allocations: 0.9322 MB / 1.252 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005634/1.172, allocations: 1.705 MB / 1.253 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003557/1.175, allocations: 2.525 MB / 1.256 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/1.178, allocations: 1.594 MB / 1.257 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/1.184, allocations: 1.403 MB / 1.259 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/1.186, allocations: 0.9111 MB / 1.26 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005803/1.186, allocations: 170.1 kB / 1.26 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003512/1.19, allocations: 1.432 MB / 1.261 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007407/1.191, allocations: 499 kB / 1.262 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/1.192, allocations: 0.8824 MB / 1.263 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004951/1.197, allocations: 2.803 MB / 1.265 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.197, allocations: 0 / 1.265 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/1.197, allocations: 7.281 kB / 1.265 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.745e-05/1.197, allocations: 0 / 1.265 GB, free: 5.246 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.004947/1.202, allocations: 2.021 MB / 1.267 GB, free: 20.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.202, allocations: 10.66 kB / 1.267 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/1.205, allocations: 405.9 kB / 1.268 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/1.207, allocations: 0.9878 MB / 1.269 GB, free: 19.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/1.207, allocations: 108.6 kB / 1.269 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/1.207, allocations: 134.6 kB / 1.269 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/1.211, allocations: 1.523 MB / 1.27 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.211, allocations: 2.672 kB / 1.27 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/1.211, allocations: 63.97 kB / 1.27 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/1.211, allocations: 34.53 kB / 1.27 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/1.214, allocations: 1.586 MB / 1.272 GB, free: 19.56 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.008438/1.222, allocations: 5.311 MB / 1.277 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/1.225, allocations: 1.522 MB / 1.279 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/1.226, allocations: 481 kB / 1.279 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000792/1.227, allocations: 425.2 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/1.228, allocations: 0.7 MB / 1.28 GB, free: 16.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.126e-06/1.228, allocations: 2.312 kB / 1.28 GB, free: 16.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004476/1.233, allocations: 1.664 MB / 1.282 GB, free: 15.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.233, allocations: 194.6 kB / 1.282 GB, free: 15.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.234, allocations: 0.8957 MB / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/1.234, allocations: 48.08 kB / 1.283 GB, free: 15.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/1.235, allocations: 0.5951 MB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/1.235, allocations: 355.9 kB / 1.284 GB, free: 15.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/1.235, allocations: 217.6 kB / 1.284 GB, free: 15.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.235, allocations: 350.8 kB / 1.284 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008204/1.236, allocations: 396.2 kB / 1.285 GB, free: 14.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000958/1.237, allocations: 0.5717 MB / 1.285 GB, free: 14.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/1.239, allocations: 0.9574 MB / 1.286 GB, free: 14.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.239, allocations: 1.125 kB / 1.286 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002932/1.242, allocations: 1.237 MB / 1.288 GB, free: 14.35 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.242, allocations: 8.844 kB / 1.288 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.242, allocations: 2.531 kB / 1.288 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/1.243, allocations: 88.88 kB / 1.288 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.244, allocations: 253.2 kB / 1.288 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/1.246, allocations: 1.659 MB / 1.289 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.247, allocations: 149.3 kB / 1.29 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/1.247, allocations: 53.23 kB / 1.29 GB, free: 12.9 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.0007199/1.248, allocations: 348.3 kB / 1.29 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/1.248, allocations: 127.8 kB / 1.29 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/1.252, allocations: 1.425 MB / 1.292 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.252, allocations: 15.8 kB / 1.292 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.252, allocations: 1.219 kB / 1.292 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.252, allocations: 5.719 kB / 1.292 GB, free: 12.61 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.005334/1.257, allocations: 2.886 MB / 1.294 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.257, allocations: 0 / 1.294 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.258, allocations: 222.5 kB / 1.295 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/1.259, allocations: 75.41 kB / 1.295 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.138e-05/1.259, allocations: 33.84 kB / 1.295 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/1.261, allocations: 1.672 MB / 1.296 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.261, allocations: 6.188 kB / 1.296 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/1.264, allocations: 1.313 MB / 1.298 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/1.264, allocations: 361.8 kB / 1.298 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/1.265, allocations: 28.38 kB / 1.298 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.266, allocations: 103.3 kB / 1.298 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/1.266, allocations: 87.3 kB / 1.298 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.266, allocations: 51.41 kB / 1.298 GB, free: 10.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009202/1.267, allocations: 0.617 MB / 1.299 GB, free: 10.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.267, allocations: 0 / 1.299 GB, free: 10.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001558/1.269, allocations: 0.4902 MB / 1.299 GB, free: 10.09 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.001661/1.27, allocations: 0.7206 MB / 1.3 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003588/1.274, allocations: 1.471 MB / 1.301 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.274, allocations: 2.5 kB / 1.301 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.275, allocations: 0.675 MB / 1.302 GB, free: 9.602 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/1.278, allocations: 0.5326 MB / 1.303 GB, free: 9.543 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/1.283, allocations: 2.952 MB / 1.305 GB, free: 8.086 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.284, allocations: 1.209 MB / 1.307 GB, free: 7.367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002044/1.286, allocations: 388.1 kB / 1.307 GB, free: 7.266 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/1.287, allocations: 145 kB / 1.307 GB, free: 7.254 MB / 1.014 GB Notification: Performance of SimCode: time 1.352e-06/1.287, allocations: 0 / 1.307 GB, free: 7.254 MB / 1.014 GB Notification: Performance of Templates: time 0.04182/1.328, allocations: 24.38 MB / 1.331 GB, free: 1.707 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches