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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 249.4 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7629 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.259/1.353, allocations: 177.6 MB / 1.445 GB, free: 2.469 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02265/1.376, allocations: 13.02 MB / 1.458 GB, free: 5.953 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/1.378, allocations: 35.81 kB / 1.458 GB, free: 5.918 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/1.38, allocations: 484.3 kB / 1.458 GB, free: 5.441 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004355/1.384, allocations: 1.041 MB / 1.459 GB, free: 4.398 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00569/1.39, allocations: 1.93 MB / 1.461 GB, free: 2.477 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004598/1.394, allocations: 2.536 MB / 1.464 GB, free: 15.93 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/1.397, allocations: 1.286 MB / 1.465 GB, free: 14.59 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005/1.402, allocations: 1.46 MB / 1.466 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/1.404, allocations: 0.9025 MB / 1.467 GB, free: 12.24 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007098/1.404, allocations: 172 kB / 1.467 GB, free: 12.07 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/1.408, allocations: 1.474 MB / 1.469 GB, free: 10.6 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009294/1.409, allocations: 0.4906 MB / 1.469 GB, free: 10.11 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001853/1.411, allocations: 0.8786 MB / 1.47 GB, free: 9.223 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006706/1.418, allocations: 2.814 MB / 1.473 GB, free: 6.398 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.418, allocations: 0 / 1.473 GB, free: 6.398 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.124e-06/1.418, allocations: 0 / 1.473 GB, free: 6.398 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001042/1.418, allocations: 3.938 kB / 1.473 GB, free: 6.395 MB / 1.154 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.005752/1.424, allocations: 2.087 MB / 1.475 GB, free: 4.242 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.424, allocations: 15.97 kB / 1.475 GB, free: 4.227 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005112/1.424, allocations: 202.7 kB / 1.475 GB, free: 4.02 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/1.427, allocations: 418.5 kB / 1.475 GB, free: 3.609 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/1.429, allocations: 1.035 MB / 1.476 GB, free: 2.527 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-05/1.429, allocations: 94.72 kB / 1.477 GB, free: 2.434 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/1.43, allocations: 143.9 kB / 1.477 GB, free: 2.293 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/1.433, allocations: 1.524 MB / 1.478 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.433, allocations: 0 / 1.478 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/1.433, allocations: 56 kB / 1.478 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/1.433, allocations: 36 kB / 1.478 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/1.436, allocations: 1.591 MB / 1.48 GB, free: 15 MB / 1.17 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.008606/1.444, allocations: 5.312 MB / 1.485 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/1.447, allocations: 1.444 MB / 1.486 GB, free: 7.863 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009114/1.448, allocations: 440.6 kB / 1.487 GB, free: 7.43 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/1.449, allocations: 433.2 kB / 1.487 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/1.45, allocations: 0.6918 MB / 1.488 GB, free: 6.223 MB / 1.17 GB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/1.45, allocations: 0 / 1.488 GB, free: 6.223 MB / 1.17 GB Notification: Performance of matching and sorting (n=107): time 0.004773/1.455, allocations: 1.669 MB / 1.49 GB, free: 4.527 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/1.455, allocations: 196.9 kB / 1.49 GB, free: 4.293 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/1.457, allocations: 0.8922 MB / 1.491 GB, free: 3.379 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/1.457, allocations: 45.7 kB / 1.491 GB, free: 3.328 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/1.458, allocations: 0.6103 MB / 1.491 GB, free: 2.711 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/1.458, allocations: 372.8 kB / 1.492 GB, free: 2.344 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/1.458, allocations: 194.6 kB / 1.492 GB, free: 2.148 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.459, allocations: 341.9 kB / 1.492 GB, free: 1.809 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008325/1.459, allocations: 381.8 kB / 1.493 GB, free: 1.434 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.46, allocations: 0.5593 MB / 1.493 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/1.462, allocations: 0.9371 MB / 1.494 GB, free: 15.83 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.462, allocations: 0 / 1.494 GB, free: 15.83 MB / 1.186 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003007/1.465, allocations: 1.181 MB / 1.495 GB, free: 14.64 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.465, allocations: 12.06 kB / 1.495 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.465, allocations: 4 kB / 1.495 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/1.466, allocations: 88.77 kB / 1.495 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.467, allocations: 243.7 kB / 1.495 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/1.47, allocations: 1.658 MB / 1.497 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.471, allocations: 131.1 kB / 1.497 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.471, allocations: 47.97 kB / 1.497 GB, free: 12.31 MB / 1.186 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.0008176/1.472, allocations: 341.6 kB / 1.498 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/1.472, allocations: 127.2 kB / 1.498 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/1.476, allocations: 1.433 MB / 1.499 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.476, allocations: 12 kB / 1.499 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/1.476, allocations: 0 / 1.499 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/1.476, allocations: 7.969 kB / 1.499 GB, free: 10.38 MB / 1.186 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.0055/1.481, allocations: 2.887 MB / 1.502 GB, free: 7.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.481, allocations: 3.984 kB / 1.502 GB, free: 7.406 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.482, allocations: 215.8 kB / 1.502 GB, free: 7.195 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/1.483, allocations: 80.72 kB / 1.502 GB, free: 7.113 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/1.483, allocations: 31.97 kB / 1.502 GB, free: 7.082 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/1.485, allocations: 1.678 MB / 1.504 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.485, allocations: 0 / 1.504 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/1.488, allocations: 1.331 MB / 1.505 GB, free: 3.91 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007228/1.489, allocations: 363.8 kB / 1.506 GB, free: 3.535 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/1.489, allocations: 31.94 kB / 1.506 GB, free: 3.504 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009295/1.49, allocations: 74.83 kB / 1.506 GB, free: 3.434 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/1.49, allocations: 84.88 kB / 1.506 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.49, allocations: 55.95 kB / 1.506 GB, free: 3.297 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001024/1.491, allocations: 0.6228 MB / 1.506 GB, free: 2.664 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.41e-07/1.491, allocations: 0 / 1.506 GB, free: 2.664 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00146/1.493, allocations: 494.7 kB / 1.507 GB, free: 2.18 MB / 1.186 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.005618/1.498, allocations: 2.499 MB / 1.509 GB, free: 15.84 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002653/1.501, allocations: 1.073 MB / 1.51 GB, free: 14.76 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.501, allocations: 0.625 kB / 1.51 GB, free: 14.76 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.502, allocations: 0.6445 MB / 1.511 GB, free: 14.11 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/1.505, allocations: 0.5357 MB / 1.511 GB, free: 13.6 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/1.522, allocations: 8.923 MB / 1.52 GB, free: 4.465 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.523, allocations: 1.209 MB / 1.521 GB, free: 3.227 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001483/1.524, allocations: 393.8 kB / 1.522 GB, free: 2.84 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009164/1.525, allocations: 0.5734 MB / 1.522 GB, free: 2.266 MB / 1.201 GB Notification: Performance of SimCode: time 1.283e-06/1.525, allocations: 0 / 1.522 GB, free: 2.266 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.638, allocations: 34.25 MB / 1.556 GB, free: 396 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/16.34, allocations: 22.23 kB / 1.556 GB, free: 384 kB / 1.232 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.775818609981798]