Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.001448/0.001448, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.001323/0.001323, allocations: 191.8 kB / 19.41 MB, free: 3.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.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.158/3.158, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 66.52 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.343, allocations: 173.9 MB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2279/0.5709, allocations: 177.1 MB / 1.477 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.5889, allocations: 10.97 MB / 1.488 GB, free: 4.66 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.5905, allocations: 31.81 kB / 1.488 GB, free: 4.629 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.592, allocations: 428.6 kB / 1.488 GB, free: 4.207 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.596, allocations: 1.119 MB / 1.489 GB, free: 3.086 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004856/0.6009, allocations: 1.723 MB / 1.491 GB, free: 1.367 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003976/0.6049, allocations: 2.373 MB / 1.493 GB, free: 14.99 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.6073, allocations: 1.151 MB / 1.494 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.612, allocations: 1.445 MB / 1.496 GB, free: 12.37 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.6136, allocations: 0.8169 MB / 1.497 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.614, allocations: 156 kB / 1.497 GB, free: 11.39 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.6172, allocations: 1.458 MB / 1.498 GB, free: 9.934 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00069/0.6179, allocations: 450.6 kB / 1.499 GB, free: 9.492 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.6193, allocations: 0.793 MB / 1.499 GB, free: 8.695 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.625, allocations: 2.592 MB / 1.502 GB, free: 6.094 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.625, allocations: 0 / 1.502 GB, free: 6.094 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.713e-06/0.625, allocations: 0 / 1.502 GB, free: 6.094 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.939e-05/0.6251, allocations: 0 / 1.502 GB, free: 6.094 MB / 1.201 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.004254/0.6293, allocations: 1.939 MB / 1.504 GB, free: 4.09 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6294, allocations: 12.62 kB / 1.504 GB, free: 4.078 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.6296, allocations: 177.4 kB / 1.504 GB, free: 3.895 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.6319, allocations: 366.7 kB / 1.504 GB, free: 3.535 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.6341, allocations: 0.9883 MB / 1.505 GB, free: 2.504 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.552e-05/0.6342, allocations: 98.31 kB / 1.505 GB, free: 2.406 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.6344, allocations: 116 kB / 1.505 GB, free: 2.293 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.6371, allocations: 1.306 MB / 1.507 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.6371, allocations: 0 / 1.507 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.6373, allocations: 48 kB / 1.507 GB, free: 0.875 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.6373, allocations: 28 kB / 1.507 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.6401, allocations: 1.449 MB / 1.508 GB, free: 15.39 MB / 1.217 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.00778/0.6479, allocations: 4.101 MB / 1.512 GB, free: 11.07 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.6505, allocations: 1.149 MB / 1.513 GB, free: 9.895 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000854/0.6513, allocations: 419.6 kB / 1.514 GB, free: 9.48 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008492/0.6522, allocations: 421.4 kB / 1.514 GB, free: 8.996 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.6537, allocations: 0.6645 MB / 1.515 GB, free: 8.312 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 3.456e-06/0.6537, allocations: 0 / 1.515 GB, free: 8.312 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.004574/0.6583, allocations: 1.618 MB / 1.516 GB, free: 6.672 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.6584, allocations: 204.8 kB / 1.517 GB, free: 6.43 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.6599, allocations: 0.8672 MB / 1.517 GB, free: 5.539 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.66, allocations: 49.7 kB / 1.517 GB, free: 5.484 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005436/0.6606, allocations: 0.5207 MB / 1.518 GB, free: 4.957 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003733/0.6609, allocations: 376.8 kB / 1.518 GB, free: 4.586 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.6613, allocations: 194.6 kB / 1.518 GB, free: 4.387 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.6615, allocations: 345.9 kB / 1.519 GB, free: 4.043 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/0.6622, allocations: 365.8 kB / 1.519 GB, free: 3.688 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/0.6631, allocations: 0.4932 MB / 1.52 GB, free: 3.156 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.6648, allocations: 0.8484 MB / 1.52 GB, free: 2.289 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6648, allocations: 0 / 1.52 GB, free: 2.289 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002825/0.6677, allocations: 1.115 MB / 1.522 GB, free: 1.168 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.6677, allocations: 8 kB / 1.522 GB, free: 1.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.6677, allocations: 0 / 1.522 GB, free: 1.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.6683, allocations: 88.86 kB / 1.522 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.6693, allocations: 219.7 kB / 1.522 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.6718, allocations: 1.651 MB / 1.523 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.6729, allocations: 128.8 kB / 1.524 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.523e-05/0.673, allocations: 39.97 kB / 1.524 GB, free: 14.89 MB / 1.232 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.0006489/0.6736, allocations: 317.5 kB / 1.524 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.6739, allocations: 131.2 kB / 1.524 GB, free: 14.44 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/0.6774, allocations: 1.501 MB / 1.526 GB, free: 12.92 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6774, allocations: 12 kB / 1.526 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6774, allocations: 0 / 1.526 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.6774, allocations: 7.922 kB / 1.526 GB, free: 12.9 MB / 1.232 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.005676/0.6831, allocations: 2.847 MB / 1.528 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6831, allocations: 0 / 1.528 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009632/0.6841, allocations: 207.8 kB / 1.529 GB, free: 9.738 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/0.6845, allocations: 72.78 kB / 1.529 GB, free: 9.664 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/0.6846, allocations: 35.97 kB / 1.529 GB, free: 9.629 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.6869, allocations: 1.678 MB / 1.53 GB, free: 7.805 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6869, allocations: 3.938 kB / 1.53 GB, free: 7.801 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.6912, allocations: 1.866 MB / 1.532 GB, free: 5.898 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008499/0.692, allocations: 355.9 kB / 1.532 GB, free: 5.531 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.6922, allocations: 28 kB / 1.532 GB, free: 5.504 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/0.6931, allocations: 71.92 kB / 1.533 GB, free: 5.434 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.6933, allocations: 88.81 kB / 1.533 GB, free: 5.348 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.6935, allocations: 51.97 kB / 1.533 GB, free: 5.297 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00098/0.6944, allocations: 0.6222 MB / 1.533 GB, free: 4.664 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6944, allocations: 0 / 1.533 GB, free: 4.664 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00128/0.6957, allocations: 458.9 kB / 1.534 GB, free: 4.215 MB / 1.232 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.006399/0.7021, allocations: 3.031 MB / 1.537 GB, free: 1.34 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.7045, allocations: 1.034 MB / 1.538 GB, free: 300 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7045, allocations: 0 / 1.538 GB, free: 300 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.7058, allocations: 0.6216 MB / 1.538 GB, free: 15.66 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.7084, allocations: 0.5283 MB / 1.539 GB, free: 15.15 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/0.7253, allocations: 8.813 MB / 1.547 GB, free: 6.145 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009419/0.7263, allocations: 1.162 MB / 1.549 GB, free: 4.953 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001524/0.7278, allocations: 373.7 kB / 1.549 GB, free: 4.586 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009292/0.7287, allocations: 0.5266 MB / 1.549 GB, free: 4.059 MB / 1.248 GB Notification: Performance of SimCode: time 1.793e-06/0.7287, allocations: 8 kB / 1.549 GB, free: 4.051 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08429/0.813, allocations: 33.31 MB / 1.582 GB, free: 3.102 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.02, allocations: 4 kB / 1.582 GB, free: 3.098 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.253239363897592]