Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008715/0.0008715, 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.00101/0.00101, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9178/0.9178, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.358e-06/4.358e-06, allocations: 4 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.887e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003468/0.003497, allocations: 1.665 MB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.00514, allocations: 1.364 MB / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.005225, allocations: 0 / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.005466, allocations: 31.7 kB / 0.9535 GB, free: 404 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.005866, allocations: 115.3 kB / 0.9536 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.006187, allocations: 135.1 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.006451, allocations: 261.4 kB / 0.954 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.006564, allocations: 15.98 kB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.00669, allocations: 115.8 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.006844, allocations: 83.81 kB / 0.9542 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.006874, allocations: 20 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.007079, allocations: 123.7 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.007162, allocations: 83.8 kB / 0.9544 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.00723, allocations: 75.75 kB / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.007576, allocations: 354.8 kB / 0.9548 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.007581, allocations: 0 / 0.9548 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.563e-06/0.007582, allocations: 0 / 0.9548 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.007589, allocations: 0 / 0.9548 GB, free: 15.04 MB / 0.9167 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.0006869/0.008276, allocations: 0.494 MB / 0.9553 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.008323, allocations: 8.031 kB / 0.9553 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.008374, allocations: 54.73 kB / 0.9554 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.008448, allocations: 28.75 kB / 0.9554 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.008692, allocations: 216.8 kB / 0.9556 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.008709, allocations: 16.7 kB / 0.9556 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.008727, allocations: 12.38 kB / 0.9556 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.009039, allocations: 301.5 kB / 0.9559 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.009049, allocations: 192 / 0.9559 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.009073, allocations: 15.94 kB / 0.9559 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.009081, allocations: 4 kB / 0.9559 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.009608, allocations: 0.6868 MB / 0.9566 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.01027, allocations: 0.5193 MB / 0.9571 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.01063, allocations: 288.3 kB / 0.9574 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.01073, allocations: 97.38 kB / 0.9575 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.01077, allocations: 16.27 kB / 0.9575 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.01107, allocations: 179.3 kB / 0.9577 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.01108, allocations: 0 / 0.9577 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.0004774/0.01155, allocations: 371.6 kB / 0.958 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.01161, allocations: 132.5 kB / 0.9581 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.01182, allocations: 317.7 kB / 0.9584 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.01185, allocations: 33.7 kB / 0.9585 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.01191, allocations: 132.7 kB / 0.9586 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.01197, allocations: 119 kB / 0.9587 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.01204, allocations: 69.69 kB / 0.9588 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.01212, allocations: 342.8 kB / 0.9591 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.01222, allocations: 87.89 kB / 0.9592 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.01237, allocations: 214.1 kB / 0.9594 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.01259, allocations: 213 kB / 0.9596 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01259, allocations: 0 / 0.9596 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003015/0.01289, allocations: 296.9 kB / 0.9599 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01291, allocations: 7.938 kB / 0.9599 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01292, allocations: 4 kB / 0.9599 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01293, allocations: 0 / 0.9599 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.01308, allocations: 63.91 kB / 0.96 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01308, allocations: 4 kB / 0.96 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.01316, allocations: 23.88 kB / 0.96 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01318, allocations: 23.92 kB / 0.96 GB, free: 9.445 MB / 0.9167 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.000107/0.01329, allocations: 161.7 kB / 0.9602 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01332, allocations: 27.81 kB / 0.9602 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.01374, allocations: 393.8 kB / 0.9606 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.01375, allocations: 4 kB / 0.9606 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.01376, allocations: 0 / 0.9606 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.01377, allocations: 8.016 kB / 0.9606 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.01397, allocations: 276.4 kB / 0.9608 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01397, allocations: 0 / 0.9608 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.01407, allocations: 63.91 kB / 0.9609 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01408, allocations: 0 / 0.9609 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01409, allocations: 11.98 kB / 0.9609 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.0141, allocations: 4 kB / 0.9609 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.0141, allocations: 0 / 0.9609 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.01441, allocations: 329.8 kB / 0.9612 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.01449, allocations: 67.69 kB / 0.9613 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01451, allocations: 8 kB / 0.9613 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.01458, allocations: 11.98 kB / 0.9613 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.01463, allocations: 31.95 kB / 0.9613 GB, free: 8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01464, allocations: 15.94 kB / 0.9614 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001778/0.01482, allocations: 245.2 kB / 0.9616 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01482, allocations: 0 / 0.9616 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003725/0.01519, allocations: 75.86 kB / 0.9617 GB, free: 7.672 MB / 0.9167 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.001201/0.01639, allocations: 1.25 MB / 0.9629 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.01668, allocations: 231.7 kB / 0.9631 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.01668, allocations: 0 / 0.9631 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01681, allocations: 123.7 kB / 0.9632 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.017, allocations: 30.73 kB / 0.9632 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.01904, allocations: 2.552 MB / 0.9657 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.457e-05/0.01913, allocations: 150.9 kB / 0.9659 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.01932, allocations: 150.9 kB / 0.966 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.01943, allocations: 104.4 kB / 0.9661 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01944, allocations: 0 / 0.9661 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.03918, allocations: 6.791 MB / 0.9728 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/6.975, allocations: 12.23 kB / 0.9728 GB, free: 12.41 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.185511433519423]