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.001298/0.001298, 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.00107/0.00107, allocations: 169.9 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.9305/0.9305, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.11 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 1.783e-06/1.783e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.312e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002621/0.002644, allocations: 1.658 MB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004096, allocations: 1.367 MB / 0.9535 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.004172, allocations: 0 / 0.9535 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.004405, allocations: 31.73 kB / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.004807, allocations: 111.3 kB / 0.9536 GB, free: 320 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.005103, allocations: 130.5 kB / 0.9537 GB, free: 192 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.005354, allocations: 257.4 kB / 0.954 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.005455, allocations: 19.97 kB / 0.954 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.005576, allocations: 123.8 kB / 0.9541 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.00572, allocations: 79.83 kB / 0.9542 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.005745, allocations: 16 kB / 0.9542 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.005918, allocations: 123.8 kB / 0.9543 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.099e-05/0.005999, allocations: 87.73 kB / 0.9544 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.006064, allocations: 71.75 kB / 0.9545 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.006397, allocations: 362.8 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.006401, allocations: 0 / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.543e-06/0.006402, allocations: 0 / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.006407, allocations: 4 kB / 0.9548 GB, free: 15.07 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.0006401/0.007047, allocations: 493.9 kB / 0.9553 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.007088, allocations: 12.03 kB / 0.9553 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.007132, allocations: 46.73 kB / 0.9553 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.007196, allocations: 32.75 kB / 0.9554 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.007429, allocations: 212.8 kB / 0.9556 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.007444, allocations: 8.703 kB / 0.9556 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.007465, allocations: 20.38 kB / 0.9556 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.007794, allocations: 305.5 kB / 0.9559 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.007805, allocations: 192 / 0.9559 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.007825, allocations: 11.94 kB / 0.9559 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.007832, allocations: 8 kB / 0.9559 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005558/0.008388, allocations: 0.6945 MB / 0.9566 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007484/0.009136, allocations: 0.5271 MB / 0.9571 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.009506, allocations: 284.2 kB / 0.9574 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.009611, allocations: 93.38 kB / 0.9575 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.009645, allocations: 16.27 kB / 0.9575 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.009917, allocations: 183.4 kB / 0.9577 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.009919, allocations: 0 / 0.9577 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.0005034/0.01042, allocations: 375.6 kB / 0.958 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.01051, allocations: 140.5 kB / 0.9582 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.01077, allocations: 313.7 kB / 0.9585 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.0108, allocations: 29.7 kB / 0.9585 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.01093, allocations: 132.7 kB / 0.9586 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.296e-05/0.01101, allocations: 111 kB / 0.9587 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.01108, allocations: 69.69 kB / 0.9588 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01119, allocations: 342.8 kB / 0.9591 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.0113, allocations: 83.94 kB / 0.9592 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.01152, allocations: 210.1 kB / 0.9594 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.01177, allocations: 233 kB / 0.9596 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01177, allocations: 0 / 0.9596 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003223/0.01209, allocations: 284.9 kB / 0.9599 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01211, allocations: 4 kB / 0.9599 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.01212, allocations: 0 / 0.9599 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01213, allocations: 4 kB / 0.9599 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.01228, allocations: 63.91 kB / 0.96 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01229, allocations: 3.984 kB / 0.96 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.01238, allocations: 19.89 kB / 0.96 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.01239, allocations: 19.92 kB / 0.96 GB, free: 9.484 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.0001249/0.01252, allocations: 169.7 kB / 0.9602 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.01255, allocations: 31.81 kB / 0.9602 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.01298, allocations: 381.9 kB / 0.9605 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01299, allocations: 4 kB / 0.9606 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01299, allocations: 3.938 kB / 0.9606 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.013, allocations: 3.984 kB / 0.9606 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.0132, allocations: 280.4 kB / 0.9608 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.0132, allocations: 0 / 0.9608 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.0133, allocations: 51.97 kB / 0.9609 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.0133, allocations: 11.94 kB / 0.9609 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.01332, allocations: 12 kB / 0.9609 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01332, allocations: 3.938 kB / 0.9609 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01332, allocations: 4 kB / 0.9609 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.01367, allocations: 325.8 kB / 0.9612 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.01375, allocations: 75.62 kB / 0.9613 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.01378, allocations: 4 kB / 0.9613 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.01385, allocations: 15.98 kB / 0.9613 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.01389, allocations: 23.95 kB / 0.9613 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.01391, allocations: 19.98 kB / 0.9614 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001365/0.01404, allocations: 233.2 kB / 0.9616 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01404, allocations: 4 kB / 0.9616 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002391/0.01428, allocations: 75.86 kB / 0.9616 GB, free: 7.711 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.00124/0.01552, allocations: 1.26 MB / 0.9629 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.01582, allocations: 223.8 kB / 0.9631 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01583, allocations: 0 / 0.9631 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.01596, allocations: 127.7 kB / 0.9632 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.01615, allocations: 46.34 kB / 0.9633 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.01831, allocations: 2.546 MB / 0.9657 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.01841, allocations: 150.9 kB / 0.9659 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.01861, allocations: 138.9 kB / 0.966 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01872, allocations: 104.4 kB / 0.9661 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of SimCode: time 7.12e-07/0.01872, allocations: 0 / 0.9661 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.04038, allocations: 6.795 MB / 0.9728 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.204, allocations: 9.234 kB / 0.9728 GB, free: 12.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=400 --tolerance=1e-06 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.mat","/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.29108157940209]