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.001085/0.001085, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.008138/0.008138, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.955/2.955, allocations: 470.6 MB / 0.7441 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 11.28 kB / 0.9123 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2269/0.5508, allocations: 172.2 MB / 1.238 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.5706, allocations: 12.67 MB / 1.25 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.5729, allocations: 31.81 kB / 1.25 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.5749, allocations: 381.5 kB / 1.251 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.579, allocations: 0.9259 MB / 1.252 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6529/1.232, allocations: 1.664 MB / 1.253 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004329/1.236, allocations: 2.862 MB / 1.256 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/1.239, allocations: 1.368 MB / 1.257 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00508/1.244, allocations: 1.156 MB / 1.259 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/1.245, allocations: 0.7413 MB / 1.259 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/1.245, allocations: 43.88 kB / 1.259 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/1.248, allocations: 1.415 MB / 1.261 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/1.249, allocations: 343.6 kB / 1.261 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/1.25, allocations: 0.7356 MB / 1.262 GB, free: 21.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/1.254, allocations: 2.661 MB / 1.264 GB, free: 21.6 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.254, allocations: 0 / 1.264 GB, free: 21.6 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/1.254, allocations: 4 kB / 1.264 GB, free: 21.6 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.169e-05/1.254, allocations: 0 / 1.264 GB, free: 21.6 MB / 1.014 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.003209/1.258, allocations: 1.7 MB / 1.266 GB, free: 20.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/1.258, allocations: 9.516 kB / 1.266 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/1.26, allocations: 422.3 kB / 1.266 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/1.262, allocations: 0.9822 MB / 1.267 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/1.262, allocations: 100.4 kB / 1.267 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.262, allocations: 133.1 kB / 1.268 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/1.265, allocations: 1.53 MB / 1.269 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/1.265, allocations: 2.672 kB / 1.269 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/1.265, allocations: 56.97 kB / 1.269 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/1.265, allocations: 36.31 kB / 1.269 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/1.268, allocations: 1.592 MB / 1.271 GB, free: 19.93 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.008779/1.277, allocations: 5.357 MB / 1.276 GB, free: 17.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/1.28, allocations: 1.525 MB / 1.277 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008891/1.281, allocations: 485.2 kB / 1.278 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000865/1.282, allocations: 441.9 kB / 1.278 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/1.284, allocations: 0.6967 MB / 1.279 GB, free: 16.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.236e-06/1.284, allocations: 4 kB / 1.279 GB, free: 16.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004666/1.288, allocations: 1.686 MB / 1.281 GB, free: 16.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.288, allocations: 191.9 kB / 1.281 GB, free: 16.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.29, allocations: 0.8955 MB / 1.282 GB, free: 15.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/1.29, allocations: 48.02 kB / 1.282 GB, free: 15.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/1.29, allocations: 0.5956 MB / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/1.291, allocations: 354.8 kB / 1.283 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.291, allocations: 90.31 kB / 1.283 GB, free: 15.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.291, allocations: 347.9 kB / 1.283 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008155/1.292, allocations: 402.9 kB / 1.284 GB, free: 15.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/1.293, allocations: 0.5698 MB / 1.284 GB, free: 14.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/1.295, allocations: 0.9717 MB / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.295, allocations: 1.125 kB / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003167/1.298, allocations: 1.244 MB / 1.286 GB, free: 14.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.298, allocations: 6.656 kB / 1.286 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.298, allocations: 2.312 kB / 1.286 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/1.298, allocations: 88.69 kB / 1.286 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.3, allocations: 261.8 kB / 1.287 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/1.302, allocations: 1.541 MB / 1.288 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/1.304, allocations: 176.2 kB / 1.288 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.304, allocations: 46.66 kB / 1.288 GB, free: 13.27 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.00086/1.305, allocations: 343.8 kB / 1.289 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/1.305, allocations: 119.9 kB / 1.289 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/1.308, allocations: 1.452 MB / 1.29 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.308, allocations: 11 kB / 1.29 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/1.308, allocations: 1 kB / 1.29 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.308, allocations: 6.047 kB / 1.29 GB, free: 12.95 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.005259/1.314, allocations: 2.887 MB / 1.293 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.314, allocations: 0 / 1.293 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009876/1.315, allocations: 219.8 kB / 1.293 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/1.315, allocations: 91.19 kB / 1.293 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.553e-05/1.315, allocations: 31.17 kB / 1.293 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/1.317, allocations: 1.567 MB / 1.295 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.317, allocations: 0 / 1.295 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/1.32, allocations: 1.334 MB / 1.296 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006917/1.321, allocations: 369.3 kB / 1.296 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.321, allocations: 24.56 kB / 1.297 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.322, allocations: 128.3 kB / 1.297 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.322, allocations: 84.45 kB / 1.297 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.322, allocations: 53.72 kB / 1.297 GB, free: 10.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009303/1.323, allocations: 0.616 MB / 1.297 GB, free: 10.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.323, allocations: 1.312 kB / 1.297 GB, free: 10.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001548/1.325, allocations: 0.492 MB / 1.298 GB, free: 10.49 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.002242/1.327, allocations: 0.7169 MB / 1.299 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00238/1.329, allocations: 1.154 MB / 1.3 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.329, allocations: 3.312 kB / 1.3 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/1.331, allocations: 0.6814 MB / 1.3 GB, free: 9.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/1.333, allocations: 0.4921 MB / 1.301 GB, free: 9.945 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/1.338, allocations: 2.979 MB / 1.304 GB, free: 8.457 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008495/1.338, allocations: 1.212 MB / 1.305 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001661/1.34, allocations: 388.6 kB / 1.305 GB, free: 7.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/1.34, allocations: 144.5 kB / 1.305 GB, free: 7.594 MB / 1.014 GB Notification: Performance of SimCode: time 1.843e-06/1.341, allocations: 0 / 1.305 GB, free: 7.594 MB / 1.014 GB Notification: Performance of Templates: time 0.04196/1.382, allocations: 23.4 MB / 1.328 GB, free: 1.57 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches