Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001155/0.001155, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001047/0.001047, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9468/0.9468, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.935/1.935, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.338e-05, allocations: 10.02 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003056/0.003079, allocations: 1.666 MB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.004487, allocations: 1.356 MB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.004553, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.004773, allocations: 31.66 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.005118, allocations: 111.4 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.005392, allocations: 142 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.005631, allocations: 257.4 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.005727, allocations: 12 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.005838, allocations: 119.8 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.005978, allocations: 79.75 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.006007, allocations: 20 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.006171, allocations: 127.8 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.006252, allocations: 79.75 kB / 1.005 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.006322, allocations: 71.81 kB / 1.005 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.006661, allocations: 350.8 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.006665, allocations: 4 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.793e-06/0.006667, allocations: 0 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.006672, allocations: 0 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006359/0.007308, allocations: 0.4978 MB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.007347, allocations: 9.344 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.007393, allocations: 54.73 kB / 1.006 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.007448, allocations: 28.75 kB / 1.006 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.007695, allocations: 220.7 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.007713, allocations: 12.7 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.007733, allocations: 20.31 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.008027, allocations: 297.6 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.008036, allocations: 192 / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.008056, allocations: 15.88 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.008062, allocations: 4 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/0.008606, allocations: 0.6945 MB / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.00929, allocations: 0.5193 MB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.009666, allocations: 288.2 kB / 1.008 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.009778, allocations: 93.38 kB / 1.008 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.009815, allocations: 24.27 kB / 1.008 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.01012, allocations: 172.9 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.01012, allocations: 0 / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35): time 0.0005126/0.01064, allocations: 381.5 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.01072, allocations: 136.5 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.01098, allocations: 317.7 kB / 1.009 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.011, allocations: 33.7 kB / 1.009 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.01107, allocations: 128.7 kB / 1.009 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.01114, allocations: 123 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.01123, allocations: 65.69 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.01132, allocations: 342.8 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.01142, allocations: 87.95 kB / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.01159, allocations: 208.5 kB / 1.01 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.01182, allocations: 214.7 kB / 1.01 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01183, allocations: 0 / 1.01 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003256/0.01215, allocations: 292.9 kB / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01217, allocations: 8 kB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01217, allocations: 0 / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01219, allocations: 0 / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01234, allocations: 63.91 kB / 1.01 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01235, allocations: 4 kB / 1.01 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.01244, allocations: 31.83 kB / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01246, allocations: 11.98 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.01258, allocations: 165.7 kB / 1.01 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.01261, allocations: 23.86 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.01307, allocations: 388.8 kB / 1.011 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01307, allocations: 4 kB / 1.011 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01307, allocations: 0 / 1.011 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01308, allocations: 7.922 kB / 1.011 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.01329, allocations: 272.5 kB / 1.011 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01329, allocations: 0 / 1.011 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.0134, allocations: 59.91 kB / 1.011 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.0134, allocations: 0 / 1.011 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.01342, allocations: 19.98 kB / 1.011 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01342, allocations: 0 / 1.011 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01342, allocations: 0 / 1.011 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.01375, allocations: 343.1 kB / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.01383, allocations: 63.73 kB / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.01387, allocations: 12 kB / 1.011 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.01395, allocations: 15.98 kB / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.01399, allocations: 27.98 kB / 1.012 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01401, allocations: 11.94 kB / 1.012 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001453/0.01415, allocations: 245.2 kB / 1.012 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01415, allocations: 4 kB / 1.012 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000237/0.01439, allocations: 83.81 kB / 1.012 GB, free: 1.711 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.01563, allocations: 1.228 MB / 1.013 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.01593, allocations: 235.4 kB / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01593, allocations: 4 kB / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.01606, allocations: 116.3 kB / 1.013 GB, free: 308 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.01626, allocations: 40.56 kB / 1.013 GB, free: 272 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.01851, allocations: 2.555 MB / 1.016 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.01861, allocations: 154.7 kB / 1.016 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.01882, allocations: 146.8 kB / 1.016 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.01893, allocations: 100.5 kB / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of SimCode: time 7.91e-07/0.01893, allocations: 4 kB / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08696/0.1059, allocations: 6.771 MB / 1.023 GB, free: 6.488 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.27, allocations: 13.33 kB / 1.023 GB, free: 6.48 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_fmpy.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_fmpy_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.066053831018507]