Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005187/0.005187, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001384/0.001384, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 62.75 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2788, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1904/0.4693, allocations: 176 MB / 1.259 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.7338/1.203, allocations: 12.71 MB / 1.272 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/1.205, allocations: 29.75 kB / 1.272 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/1.207, allocations: 465 kB / 1.272 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00497/1.212, allocations: 0.9872 MB / 1.273 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008026/1.22, allocations: 1.888 MB / 1.275 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005091/1.225, allocations: 2.413 MB / 1.277 GB, free: 3.141 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00468/1.23, allocations: 1.631 MB / 1.279 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006264/1.236, allocations: 1.437 MB / 1.28 GB, free: 2.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/1.239, allocations: 0.8655 MB / 1.281 GB, free: 2.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008907/1.239, allocations: 171.5 kB / 1.281 GB, free: 2.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/1.245, allocations: 1.423 MB / 1.283 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001243/1.246, allocations: 497.7 kB / 1.283 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002982/1.249, allocations: 0.852 MB / 1.284 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008769/1.258, allocations: 2.762 MB / 1.287 GB, free: 2.582 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.258, allocations: 0 / 1.287 GB, free: 2.582 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.275e-06/1.258, allocations: 2.375 kB / 1.287 GB, free: 2.582 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000124/1.258, allocations: 0 / 1.287 GB, free: 2.582 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.006704/1.264, allocations: 2.018 MB / 1.289 GB, free: 1.574 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.265, allocations: 9.312 kB / 1.289 GB, free: 1.574 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007623/1.265, allocations: 203.7 kB / 1.289 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/1.268, allocations: 405.5 kB / 1.289 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/1.27, allocations: 1.027 MB / 1.29 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/1.271, allocations: 105.9 kB / 1.29 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/1.271, allocations: 134.1 kB / 1.291 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/1.274, allocations: 1.526 MB / 1.292 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/1.274, allocations: 10.27 kB / 1.292 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/1.274, allocations: 60.53 kB / 1.292 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/1.274, allocations: 34.38 kB / 1.292 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003085/1.277, allocations: 1.582 MB / 1.294 GB, free: 0.8281 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.007268/1.284, allocations: 5.019 MB / 1.299 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/1.287, allocations: 1.522 MB / 1.3 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/1.288, allocations: 492 kB / 1.301 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/1.288, allocations: 426.2 kB / 1.301 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/1.29, allocations: 0.6925 MB / 1.302 GB, free: 13.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 2.595e-06/1.29, allocations: 3.938 kB / 1.302 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.00419/1.294, allocations: 1.663 MB / 1.303 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.294, allocations: 195.6 kB / 1.304 GB, free: 13.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/1.295, allocations: 0.8891 MB / 1.304 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/1.295, allocations: 51.08 kB / 1.304 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/1.296, allocations: 0.6001 MB / 1.305 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/1.296, allocations: 350.5 kB / 1.305 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/1.296, allocations: 197.8 kB / 1.306 GB, free: 12.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.296, allocations: 348 kB / 1.306 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007143/1.297, allocations: 376.9 kB / 1.306 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008903/1.298, allocations: 0.5633 MB / 1.307 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/1.3, allocations: 0.931 MB / 1.308 GB, free: 12.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.3, allocations: 2.094 kB / 1.308 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002611/1.302, allocations: 1.184 MB / 1.309 GB, free: 11.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.302, allocations: 6.875 kB / 1.309 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.302, allocations: 7.406 kB / 1.309 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/1.303, allocations: 86.28 kB / 1.309 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.304, allocations: 244.6 kB / 1.309 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/1.306, allocations: 1.647 MB / 1.311 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/1.307, allocations: 134.5 kB / 1.311 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/1.307, allocations: 41.64 kB / 1.311 GB, free: 10.45 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 (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 (123): * Single equations (assignments): 122 * 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.0006644/1.308, allocations: 351.3 kB / 1.311 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/1.308, allocations: 122.9 kB / 1.311 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/1.311, allocations: 1.433 MB / 1.313 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.311, allocations: 16.94 kB / 1.313 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.311, allocations: 0 / 1.313 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.311, allocations: 10.58 kB / 1.313 GB, free: 10.14 MB / 1.029 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.004468/1.316, allocations: 2.879 MB / 1.316 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.316, allocations: 3.188 kB / 1.316 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009232/1.317, allocations: 220.2 kB / 1.316 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/1.317, allocations: 72.17 kB / 1.316 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/1.317, allocations: 33.73 kB / 1.316 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/1.319, allocations: 1.67 MB / 1.318 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.319, allocations: 3.781 kB / 1.318 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/1.322, allocations: 1.323 MB / 1.319 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006803/1.322, allocations: 359.3 kB / 1.319 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.323, allocations: 24.19 kB / 1.319 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/1.323, allocations: 83.06 kB / 1.319 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.324, allocations: 82.72 kB / 1.319 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.324, allocations: 53.47 kB / 1.319 GB, free: 7.844 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007955/1.325, allocations: 0.6267 MB / 1.32 GB, free: 7.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/1.325, allocations: 0.9375 kB / 1.32 GB, free: 7.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001363/1.326, allocations: 481.8 kB / 1.321 GB, free: 7.648 MB / 1.029 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.004275/1.33, allocations: 2.481 MB / 1.323 GB, free: 6.723 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002179/1.332, allocations: 1.114 MB / 1.324 GB, free: 6.598 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/1.332, allocations: 3.5 kB / 1.324 GB, free: 6.598 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/1.333, allocations: 0.6779 MB / 1.325 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/1.336, allocations: 0.53 MB / 1.325 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.352, allocations: 8.986 MB / 1.334 GB, free: 2.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/1.352, allocations: 1.212 MB / 1.335 GB, free: 1.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00141/1.354, allocations: 385.2 kB / 1.336 GB, free: 1.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/1.355, allocations: 0.5758 MB / 1.336 GB, free: 1.055 MB / 1.029 GB Notification: Performance of SimCode: time 1.273e-06/1.355, allocations: 0 / 1.336 GB, free: 1.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07441/1.429, allocations: 33.42 MB / 1.369 GB, free: 2.254 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.31, allocations: 6.875 kB / 1.369 GB, free: 2.25 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches