Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001118/0.001118, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001297/0.001297, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9141/0.9141, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.938/1.938, allocations: 389 MB / 0.633 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.248e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002729/0.002751, allocations: 1.651 MB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.004187, allocations: 1.367 MB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.00425, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.004478, allocations: 31.73 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.005079, allocations: 119.3 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.005358, allocations: 134 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.005617, allocations: 249.5 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.005734, allocations: 15.97 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.005845, allocations: 119.8 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.005992, allocations: 83.77 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.00602, allocations: 16 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.006173, allocations: 127.8 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.006266, allocations: 79.8 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.006337, allocations: 75.75 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.006701, allocations: 354.8 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.006706, allocations: 0 / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.703e-06/0.006708, allocations: 4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.006713, allocations: 0 / 1.004 GB, free: 9.102 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.0006765/0.00739, allocations: 497.8 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.007432, allocations: 12.75 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.007472, allocations: 50.73 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.007532, allocations: 40.73 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.007761, allocations: 204.8 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.007777, allocations: 16.7 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.007797, allocations: 16.38 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.008091, allocations: 305.5 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.0081, allocations: 192 / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.008118, allocations: 7.938 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.008125, allocations: 4 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.008663, allocations: 0.6946 MB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.009384, allocations: 0.5309 MB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.009754, allocations: 276.3 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.009861, allocations: 97.38 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.009899, allocations: 16.27 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.01019, allocations: 184.8 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.01019, allocations: 0 / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35): time 0.0004935/0.01068, allocations: 382.1 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.01075, allocations: 136.5 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.01097, allocations: 309.7 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.01099, allocations: 37.7 kB / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.01106, allocations: 128.7 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.01113, allocations: 119 kB / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.0112, allocations: 65.64 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01131, allocations: 346.7 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.01141, allocations: 87.89 kB / 1.008 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.01158, allocations: 204.5 kB / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.01184, allocations: 218.1 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.01184, allocations: 3.938 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003351/0.01218, allocations: 290.2 kB / 1.009 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01219, allocations: 4 kB / 1.009 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.0122, allocations: 4 kB / 1.009 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01221, allocations: 3.984 kB / 1.009 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.01237, allocations: 59.91 kB / 1.009 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01238, allocations: 4 kB / 1.009 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.01246, allocations: 27.83 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.01248, allocations: 12 kB / 1.009 GB, free: 3.516 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.0001294/0.01261, allocations: 165.7 kB / 1.009 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.01264, allocations: 23.86 kB / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.01338, allocations: 392.8 kB / 1.01 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01338, allocations: 4 kB / 1.01 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01339, allocations: 0 / 1.01 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01339, allocations: 8 kB / 1.01 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.01362, allocations: 276.5 kB / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01363, allocations: 0 / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.01374, allocations: 59.91 kB / 1.01 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01375, allocations: 4 kB / 1.01 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01376, allocations: 8 kB / 1.01 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01376, allocations: 0 / 1.01 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01377, allocations: 0 / 1.01 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.01409, allocations: 335.1 kB / 1.01 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.01418, allocations: 71.67 kB / 1.01 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.0142, allocations: 8 kB / 1.01 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.01428, allocations: 26.66 kB / 1.01 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.01433, allocations: 19.95 kB / 1.01 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.01434, allocations: 19.98 kB / 1.011 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001521/0.0145, allocations: 241.1 kB / 1.011 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.0145, allocations: 0 / 1.011 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002377/0.01473, allocations: 79.83 kB / 1.011 GB, free: 1.742 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.001296/0.01603, allocations: 1.255 MB / 1.012 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.01634, allocations: 223.4 kB / 1.012 GB, free: 444 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01634, allocations: 4 kB / 1.012 GB, free: 440 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.01647, allocations: 120.4 kB / 1.012 GB, free: 320 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01668, allocations: 36.47 kB / 1.012 GB, free: 284 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.01889, allocations: 2.56 MB / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.019, allocations: 146.7 kB / 1.015 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000198/0.01919, allocations: 142.9 kB / 1.015 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.01931, allocations: 100.5 kB / 1.015 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of SimCode: time 9.62e-07/0.01931, allocations: 0 / 1.015 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.04091, allocations: 6.784 MB / 1.022 GB, free: 6.496 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.037, allocations: 10.44 kB / 1.022 GB, free: 6.488 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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: 11.590386458672583]