Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 114.3 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 221.4 kB / 22.26 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.926/2.926, allocations: 476.8 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 68.78 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3819, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2367/0.6186, allocations: 180.3 MB / 1.459 GB, free: 6.719 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01846/0.637, allocations: 11.2 MB / 1.47 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.6389, allocations: 43.62 kB / 1.47 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.6407, allocations: 424.7 kB / 1.471 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004752/0.6455, allocations: 1.15 MB / 1.472 GB, free: 9.867 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005724/0.6512, allocations: 1.797 MB / 1.474 GB, free: 8.078 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004289/0.6555, allocations: 2.412 MB / 1.476 GB, free: 5.652 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.6577, allocations: 1.143 MB / 1.477 GB, free: 4.473 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.6619, allocations: 1.338 MB / 1.478 GB, free: 3.148 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.6634, allocations: 0.8402 MB / 1.479 GB, free: 2.305 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004751/0.6639, allocations: 160 kB / 1.479 GB, free: 2.148 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.6674, allocations: 1.513 MB / 1.481 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007625/0.6681, allocations: 458.5 kB / 1.481 GB, free: 188 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.6696, allocations: 0.7932 MB / 1.482 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00503/0.6747, allocations: 2.643 MB / 1.485 GB, free: 12.73 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.6747, allocations: 4 kB / 1.485 GB, free: 12.73 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6747, allocations: 0 / 1.485 GB, free: 12.73 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.201e-05/0.6748, allocations: 0 / 1.485 GB, free: 12.73 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005086/0.6798, allocations: 1.899 MB / 1.487 GB, free: 10.79 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.6799, allocations: 11.97 kB / 1.487 GB, free: 10.77 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002688/0.6802, allocations: 177.4 kB / 1.487 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.683, allocations: 402.7 kB / 1.487 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.6849, allocations: 0.9279 MB / 1.488 GB, free: 9.238 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/0.685, allocations: 90.33 kB / 1.488 GB, free: 9.148 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.6851, allocations: 115.9 kB / 1.488 GB, free: 9.035 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.6875, allocations: 1.298 MB / 1.49 GB, free: 7.672 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.6875, allocations: 3.984 kB / 1.49 GB, free: 7.668 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.6876, allocations: 52 kB / 1.49 GB, free: 7.617 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.6876, allocations: 32 kB / 1.49 GB, free: 7.586 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.6901, allocations: 1.449 MB / 1.491 GB, free: 6.129 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 preOpt removeSimpleEquations (simulation): time 0.006781/0.6969, allocations: 3.988 MB / 1.495 GB, free: 1.938 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.6991, allocations: 1.082 MB / 1.496 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.6998, allocations: 409.7 kB / 1.496 GB, free: 464 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.7005, allocations: 125 kB / 1.496 GB, free: 340 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.7016, allocations: 0.6605 MB / 1.497 GB, free: 15.66 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 2.725e-06/0.7016, allocations: 0 / 1.497 GB, free: 15.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=106): time 0.00411/0.7058, allocations: 1.543 MB / 1.499 GB, free: 14.1 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.7059, allocations: 192.9 kB / 1.499 GB, free: 13.87 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.7072, allocations: 0.9112 MB / 1.5 GB, free: 12.94 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.089e-05/0.7073, allocations: 45.7 kB / 1.5 GB, free: 12.89 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.7078, allocations: 0.5363 MB / 1.5 GB, free: 12.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.7082, allocations: 364.9 kB / 1.501 GB, free: 11.98 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.7086, allocations: 198.5 kB / 1.501 GB, free: 11.79 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.7087, allocations: 349.9 kB / 1.501 GB, free: 11.44 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008025/0.7095, allocations: 357.8 kB / 1.501 GB, free: 11.09 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009175/0.7105, allocations: 0.4932 MB / 1.502 GB, free: 10.56 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.7122, allocations: 0.8484 MB / 1.503 GB, free: 9.691 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7122, allocations: 0 / 1.503 GB, free: 9.691 MB / 1.201 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002673/0.7148, allocations: 1.126 MB / 1.504 GB, free: 8.555 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7149, allocations: 4 kB / 1.504 GB, free: 8.551 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.7149, allocations: 4 kB / 1.504 GB, free: 8.547 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.7155, allocations: 84.86 kB / 1.504 GB, free: 8.461 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.7165, allocations: 219.7 kB / 1.504 GB, free: 8.246 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.7188, allocations: 1.548 MB / 1.506 GB, free: 6.574 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009591/0.7198, allocations: 127.2 kB / 1.506 GB, free: 6.449 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.7199, allocations: 44.23 kB / 1.506 GB, free: 6.406 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * 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.000611/0.7205, allocations: 325.5 kB / 1.506 GB, free: 6.078 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.7207, allocations: 123.2 kB / 1.506 GB, free: 5.957 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.7241, allocations: 1.502 MB / 1.508 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.7242, allocations: 12 kB / 1.508 GB, free: 4.422 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7242, allocations: 0 / 1.508 GB, free: 4.422 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.7242, allocations: 7.922 kB / 1.508 GB, free: 4.414 MB / 1.201 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.005613/0.7298, allocations: 2.775 MB / 1.511 GB, free: 1.559 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7298, allocations: 3.984 kB / 1.511 GB, free: 1.555 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009351/0.7307, allocations: 195.8 kB / 1.511 GB, free: 1.363 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.7312, allocations: 80.92 kB / 1.511 GB, free: 1.281 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.666e-05/0.7313, allocations: 31.97 kB / 1.511 GB, free: 1.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.7334, allocations: 1.574 MB / 1.512 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.7334, allocations: 4 kB / 1.512 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.7372, allocations: 1.87 MB / 1.514 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006928/0.7379, allocations: 270.8 kB / 1.514 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.7381, allocations: 31.89 kB / 1.514 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009854/0.7391, allocations: 78.31 kB / 1.515 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.7393, allocations: 96.77 kB / 1.515 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.7395, allocations: 43.97 kB / 1.515 GB, free: 13.14 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001134/0.7406, allocations: 0.6462 MB / 1.515 GB, free: 12.48 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7406, allocations: 0 / 1.515 GB, free: 12.48 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00132/0.7419, allocations: 462.9 kB / 1.516 GB, free: 12.03 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * 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.006999/0.7489, allocations: 3.02 MB / 1.519 GB, free: 9.145 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002463/0.7514, allocations: 1.026 MB / 1.52 GB, free: 8.105 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.7514, allocations: 4 kB / 1.52 GB, free: 8.102 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.7527, allocations: 0.6257 MB / 1.52 GB, free: 7.465 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.7553, allocations: 0.5299 MB / 1.521 GB, free: 6.957 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.7722, allocations: 8.88 MB / 1.529 GB, free: 13.88 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.7733, allocations: 1.17 MB / 1.531 GB, free: 12.68 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001369/0.7746, allocations: 373.9 kB / 1.531 GB, free: 12.31 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009069/0.7756, allocations: 0.5383 MB / 1.532 GB, free: 11.77 MB / 1.232 GB Notification: Performance of SimCode: time 1.092e-06/0.7756, allocations: 0 / 1.532 GB, free: 11.77 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08869/0.8642, allocations: 34.4 MB / 1.565 GB, free: 9.762 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.66, allocations: 6.859 kB / 1.565 GB, free: 9.758 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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: 24.073351491009817]