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.007607/0.007607, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001504/0.001504, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.218/2.218, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 64.14 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8499, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2096/1.059, allocations: 176 MB / 1.259 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01672/1.076, allocations: 12.74 MB / 1.272 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/1.078, allocations: 31.81 kB / 1.272 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/1.079, allocations: 440.6 kB / 1.272 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/1.082, allocations: 0.9711 MB / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004683/1.087, allocations: 1.864 MB / 1.275 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003231/1.09, allocations: 2.408 MB / 1.277 GB, free: 11.26 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/1.093, allocations: 1.629 MB / 1.279 GB, free: 9.586 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/1.097, allocations: 1.42 MB / 1.28 GB, free: 8.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/1.098, allocations: 0.8635 MB / 1.281 GB, free: 7.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002537/1.098, allocations: 172 kB / 1.281 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/1.101, allocations: 1.423 MB / 1.283 GB, free: 5.727 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004285/1.102, allocations: 494.5 kB / 1.283 GB, free: 5.242 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008404/1.103, allocations: 0.8513 MB / 1.284 GB, free: 4.387 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003504/1.106, allocations: 2.761 MB / 1.287 GB, free: 1.617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.106, allocations: 0 / 1.287 GB, free: 1.617 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/1.106, allocations: 0 / 1.287 GB, free: 1.617 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.317e-05/1.106, allocations: 3.938 kB / 1.287 GB, free: 1.613 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.003539/1.11, allocations: 2.017 MB / 1.289 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.11, allocations: 8.031 kB / 1.289 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002295/1.11, allocations: 202.7 kB / 1.289 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/1.113, allocations: 409.5 kB / 1.289 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.114, allocations: 1.031 MB / 1.29 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.289e-05/1.114, allocations: 98.72 kB / 1.29 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/1.115, allocations: 132 kB / 1.291 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/1.117, allocations: 1.524 MB / 1.292 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/1.117, allocations: 0 / 1.292 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.117, allocations: 60 kB / 1.292 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/1.117, allocations: 32 kB / 1.292 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/1.12, allocations: 1.591 MB / 1.294 GB, free: 10.33 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 preOpt removeSimpleEquations (simulation): time 0.006785/1.127, allocations: 5.036 MB / 1.299 GB, free: 5.027 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/1.129, allocations: 1.525 MB / 1.3 GB, free: 3.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/1.13, allocations: 480.6 kB / 1.301 GB, free: 2.961 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/1.131, allocations: 425.3 kB / 1.301 GB, free: 2.473 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/1.132, allocations: 0.6918 MB / 1.302 GB, free: 1.758 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 2.785e-06/1.132, allocations: 0 / 1.302 GB, free: 1.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.004223/1.136, allocations: 1.668 MB / 1.303 GB, free: 68 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.136, allocations: 197 kB / 1.303 GB, free: 15.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/1.138, allocations: 0.8921 MB / 1.304 GB, free: 14.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/1.138, allocations: 45.7 kB / 1.304 GB, free: 14.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/1.138, allocations: 0.5935 MB / 1.305 GB, free: 14.26 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/1.138, allocations: 354.9 kB / 1.305 GB, free: 13.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/1.139, allocations: 198.5 kB / 1.305 GB, free: 13.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.139, allocations: 341.9 kB / 1.306 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/1.14, allocations: 377.8 kB / 1.306 GB, free: 13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009247/1.141, allocations: 0.5671 MB / 1.307 GB, free: 12.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/1.142, allocations: 0.9371 MB / 1.308 GB, free: 11.39 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.142, allocations: 0 / 1.308 GB, free: 11.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002619/1.145, allocations: 1.188 MB / 1.309 GB, free: 10.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.145, allocations: 4 kB / 1.309 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.145, allocations: 4 kB / 1.309 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/1.146, allocations: 89.14 kB / 1.309 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.147, allocations: 243.7 kB / 1.309 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/1.149, allocations: 1.659 MB / 1.311 GB, free: 8.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009991/1.15, allocations: 125.2 kB / 1.311 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.515e-05/1.15, allocations: 52.03 kB / 1.311 GB, free: 7.883 MB / 1.045 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.0005912/1.151, allocations: 342 kB / 1.311 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/1.151, allocations: 122.5 kB / 1.311 GB, free: 7.418 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/1.154, allocations: 1.429 MB / 1.313 GB, free: 5.977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.154, allocations: 12 kB / 1.313 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.154, allocations: 4 kB / 1.313 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/1.154, allocations: 7.969 kB / 1.313 GB, free: 5.953 MB / 1.045 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.004635/1.159, allocations: 2.883 MB / 1.316 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.159, allocations: 0 / 1.316 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009512/1.16, allocations: 215.8 kB / 1.316 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/1.16, allocations: 84.64 kB / 1.316 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/1.16, allocations: 35.97 kB / 1.316 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/1.162, allocations: 1.662 MB / 1.318 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.162, allocations: 0 / 1.318 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/1.165, allocations: 1.326 MB / 1.319 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/1.165, allocations: 359.1 kB / 1.319 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.166, allocations: 28 kB / 1.319 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009658/1.167, allocations: 83.86 kB / 1.319 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/1.167, allocations: 84.88 kB / 1.319 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.167, allocations: 55.95 kB / 1.319 GB, free: 14.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009251/1.168, allocations: 0.615 MB / 1.32 GB, free: 14.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.168, allocations: 0 / 1.32 GB, free: 14.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001354/1.169, allocations: 486.8 kB / 1.32 GB, free: 13.78 MB / 1.061 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.004704/1.174, allocations: 2.479 MB / 1.323 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002494/1.176, allocations: 1.117 MB / 1.324 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.176, allocations: 4 kB / 1.324 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/1.178, allocations: 0.6759 MB / 1.325 GB, free: 9.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.18, allocations: 0.5189 MB / 1.325 GB, free: 9.137 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.197, allocations: 8.992 MB / 1.334 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009776/1.198, allocations: 1.21 MB / 1.335 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001428/1.199, allocations: 385.8 kB / 1.335 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000888/1.2, allocations: 0.5695 MB / 1.336 GB, free: 13.75 MB / 1.076 GB Notification: Performance of SimCode: time 1.452e-06/1.2, allocations: 4 kB / 1.336 GB, free: 13.75 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06716/1.268, allocations: 34.01 MB / 1.369 GB, free: 12.2 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.4, allocations: 1.719 kB / 1.369 GB, free: 12.2 MB / 1.107 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