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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_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.005874/0.005874, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.0013/0.0013, 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 64.12 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9558/0.9579, allocations: 157.4 MB / 1.207 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2468/1.205, allocations: 176.8 MB / 1.38 GB, free: 12.27 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01663/1.221, allocations: 12.81 MB / 1.392 GB, free: 15.42 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/1.223, allocations: 35.75 kB / 1.392 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/1.224, allocations: 472.3 kB / 1.393 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/1.227, allocations: 1.037 MB / 1.394 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004346/1.232, allocations: 1.864 MB / 1.396 GB, free: 12.02 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003096/1.235, allocations: 2.536 MB / 1.398 GB, free: 9.48 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/1.237, allocations: 1.606 MB / 1.4 GB, free: 7.82 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/1.241, allocations: 1.443 MB / 1.401 GB, free: 6.402 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/1.242, allocations: 0.8792 MB / 1.402 GB, free: 5.52 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/1.242, allocations: 172 kB / 1.402 GB, free: 5.352 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/1.245, allocations: 1.423 MB / 1.404 GB, free: 3.926 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/1.245, allocations: 498.5 kB / 1.404 GB, free: 3.438 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008513/1.246, allocations: 0.8747 MB / 1.405 GB, free: 2.559 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003723/1.25, allocations: 2.8 MB / 1.408 GB, free: 15.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.25, allocations: 4 kB / 1.408 GB, free: 15.75 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.503e-06/1.25, allocations: 0 / 1.408 GB, free: 15.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.986e-05/1.25, allocations: 4 kB / 1.408 GB, free: 15.74 MB / 1.139 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.003526/1.254, allocations: 2.024 MB / 1.41 GB, free: 13.66 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.254, allocations: 8.031 kB / 1.41 GB, free: 13.65 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/1.254, allocations: 206.7 kB / 1.41 GB, free: 13.44 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/1.257, allocations: 405.6 kB / 1.41 GB, free: 13.04 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/1.258, allocations: 1.031 MB / 1.411 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.893e-05/1.258, allocations: 102.7 kB / 1.411 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/1.258, allocations: 135.9 kB / 1.411 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/1.261, allocations: 1.524 MB / 1.413 GB, free: 10.13 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/1.261, allocations: 3.938 kB / 1.413 GB, free: 10.12 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.261, allocations: 63.94 kB / 1.413 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/1.261, allocations: 32 kB / 1.413 GB, free: 10.03 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/1.264, allocations: 1.579 MB / 1.415 GB, free: 8.445 MB / 1.139 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.006985/1.271, allocations: 5.298 MB / 1.42 GB, free: 2.824 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/1.273, allocations: 1.517 MB / 1.421 GB, free: 1.227 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008137/1.274, allocations: 484.9 kB / 1.422 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007867/1.275, allocations: 429.3 kB / 1.422 GB, free: 264 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/1.276, allocations: 0.6802 MB / 1.423 GB, free: 15.55 MB / 1.154 GB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/1.276, allocations: 4 kB / 1.423 GB, free: 15.55 MB / 1.154 GB Notification: Performance of matching and sorting (n=107): time 0.004469/1.281, allocations: 1.668 MB / 1.424 GB, free: 13.86 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.281, allocations: 200.8 kB / 1.425 GB, free: 13.62 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/1.282, allocations: 0.8883 MB / 1.425 GB, free: 12.71 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1.282, allocations: 49.7 kB / 1.426 GB, free: 12.66 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/1.283, allocations: 0.5974 MB / 1.426 GB, free: 12.05 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/1.283, allocations: 350.9 kB / 1.426 GB, free: 11.7 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/1.283, allocations: 198.5 kB / 1.427 GB, free: 11.5 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.284, allocations: 345.9 kB / 1.427 GB, free: 11.16 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007655/1.284, allocations: 369.8 kB / 1.427 GB, free: 10.8 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009436/1.285, allocations: 0.5632 MB / 1.428 GB, free: 10.17 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/1.287, allocations: 0.9332 MB / 1.429 GB, free: 9.191 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.287, allocations: 0 / 1.429 GB, free: 9.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002831/1.29, allocations: 1.199 MB / 1.43 GB, free: 7.984 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.29, allocations: 4 kB / 1.43 GB, free: 7.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.29, allocations: 4 kB / 1.43 GB, free: 7.977 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/1.291, allocations: 89.17 kB / 1.43 GB, free: 7.887 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.292, allocations: 243.6 kB / 1.43 GB, free: 7.648 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.294, allocations: 1.646 MB / 1.432 GB, free: 5.855 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/1.295, allocations: 140.5 kB / 1.432 GB, free: 5.719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.295, allocations: 43.97 kB / 1.432 GB, free: 5.676 MB / 1.154 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.0007494/1.296, allocations: 337.6 kB / 1.432 GB, free: 5.336 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/1.296, allocations: 122.5 kB / 1.432 GB, free: 5.215 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/1.3, allocations: 1.429 MB / 1.434 GB, free: 3.777 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.3, allocations: 12 kB / 1.434 GB, free: 3.766 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.3, allocations: 0 / 1.434 GB, free: 3.766 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.3, allocations: 3.984 kB / 1.434 GB, free: 3.762 MB / 1.154 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.005248/1.305, allocations: 2.891 MB / 1.437 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.305, allocations: 4 kB / 1.437 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009931/1.306, allocations: 215.7 kB / 1.437 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/1.306, allocations: 84.72 kB / 1.437 GB, free: 496 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.564e-05/1.307, allocations: 27.97 kB / 1.437 GB, free: 468 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/1.309, allocations: 1.666 MB / 1.439 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.309, allocations: 0 / 1.439 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/1.311, allocations: 1.33 MB / 1.44 GB, free: 13.3 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/1.312, allocations: 355.2 kB / 1.44 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/1.312, allocations: 31.92 kB / 1.44 GB, free: 12.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.313, allocations: 78.73 kB / 1.44 GB, free: 12.83 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.314, allocations: 84.88 kB / 1.44 GB, free: 12.74 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.314, allocations: 51.97 kB / 1.441 GB, free: 12.69 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009882/1.315, allocations: 0.6228 MB / 1.441 GB, free: 12.06 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.7e-07/1.315, allocations: 0 / 1.441 GB, free: 12.06 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00137/1.316, allocations: 490.8 kB / 1.442 GB, free: 11.58 MB / 1.17 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.004544/1.321, allocations: 2.486 MB / 1.444 GB, free: 9.25 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002393/1.323, allocations: 1.121 MB / 1.445 GB, free: 8.117 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.323, allocations: 4 kB / 1.445 GB, free: 8.113 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/1.324, allocations: 0.6759 MB / 1.446 GB, free: 7.426 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/1.327, allocations: 0.5281 MB / 1.446 GB, free: 6.918 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.343, allocations: 8.882 MB / 1.455 GB, free: 13.83 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.344, allocations: 1.209 MB / 1.456 GB, free: 12.59 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001494/1.346, allocations: 381.9 kB / 1.457 GB, free: 12.21 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/1.346, allocations: 0.5695 MB / 1.457 GB, free: 11.64 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/1.346, allocations: 0 / 1.457 GB, free: 11.64 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07788/1.424, allocations: 34.61 MB / 1.491 GB, free: 9.488 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.4, allocations: 10 kB / 1.491 GB, free: 9.48 MB / 1.217 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > 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/jenkins1/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