Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007031/0.0007032, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007412/0.0007412, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005276/0.0005276, allocations: 13.66 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1919, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter): time 0.001213/0.1932, allocations: 0.8034 MB / 0.7882 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1943, allocations: 0.9645 MB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.1943, allocations: 4 kB / 0.7892 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.1944, allocations: 15.8 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1945, allocations: 35.66 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.1947, allocations: 55.92 kB / 0.7893 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1949, allocations: 207.3 kB / 0.7895 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.195, allocations: 60.34 kB / 0.7895 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.088e-05/0.1951, allocations: 87.56 kB / 0.7896 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1953, allocations: 103.5 kB / 0.7897 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.1953, allocations: 8 kB / 0.7897 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-05/0.1953, allocations: 8 kB / 0.7897 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.1954, allocations: 39.83 kB / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.1954, allocations: 53.58 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1956, allocations: 167.8 kB / 0.79 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1956, allocations: 4 kB / 0.79 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1956, allocations: 0 / 0.79 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1956, allocations: 0 / 0.79 GB, free: 9.219 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001147/0.1968, allocations: 0.6115 MB / 0.7906 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1968, allocations: 8.031 kB / 0.7906 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.1969, allocations: 46.55 kB / 0.7906 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.197, allocations: 27.72 kB / 0.7906 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1972, allocations: 233.6 kB / 0.7909 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1972, allocations: 8 kB / 0.7909 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1973, allocations: 16 kB / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007129/0.198, allocations: 297.4 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.198, allocations: 0 / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.198, allocations: 4 kB / 0.7912 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.198, allocations: 7.938 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.199, allocations: 387.7 kB / 0.7915 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.1998, allocations: 0.5159 MB / 0.792 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.2005, allocations: 314.2 kB / 0.7923 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.201, allocations: 212.7 kB / 0.7926 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.2011, allocations: 3.984 kB / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.2011, allocations: 46.5 kB / 0.7926 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2011, allocations: 4 kB / 0.7926 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.00167/0.2028, allocations: 0.6405 MB / 0.7932 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.2028, allocations: 51.41 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.203, allocations: 205 kB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.203, allocations: 29.7 kB / 0.7935 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.2031, allocations: 144.3 kB / 0.7936 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.2031, allocations: 63.09 kB / 0.7937 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.2032, allocations: 4 kB / 0.7937 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.2033, allocations: 334.8 kB / 0.794 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.2038, allocations: 199.8 kB / 0.7942 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.2043, allocations: 203.8 kB / 0.7944 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.2048, allocations: 202.9 kB / 0.7946 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2048, allocations: 0 / 0.7946 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001059/0.2058, allocations: 472.9 kB / 0.7951 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2059, allocations: 4 kB / 0.7951 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2059, allocations: 7.984 kB / 0.7951 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2059, allocations: 0 / 0.7951 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.2063, allocations: 99.92 kB / 0.7952 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2063, allocations: 7.922 kB / 0.7952 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.2066, allocations: 79.88 kB / 0.7952 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.2066, allocations: 7.984 kB / 0.7953 GB, free: 3.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.2067, allocations: 125.8 kB / 0.7954 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.2067, allocations: 27.67 kB / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.2068, allocations: 26.17 kB / 0.7954 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2068, allocations: 0 / 0.7954 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2068, allocations: 4 kB / 0.7954 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2068, allocations: 0 / 0.7954 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.2071, allocations: 293.3 kB / 0.7957 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2071, allocations: 0 / 0.7957 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.2075, allocations: 107.8 kB / 0.7958 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2075, allocations: 3.953 kB / 0.7958 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2075, allocations: 0 / 0.7958 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2075, allocations: 4 kB / 0.7958 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2075, allocations: 0 / 0.7958 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.2092, allocations: 0.7791 MB / 0.7966 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.2093, allocations: 96.84 kB / 0.7967 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.2093, allocations: 11.95 kB / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.2097, allocations: 79.98 kB / 0.7968 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.2097, allocations: 23.95 kB / 0.7968 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.2098, allocations: 4 kB / 0.7968 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001068/0.2099, allocations: 152.5 kB / 0.7969 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.543e-06/0.2099, allocations: 0 / 0.7969 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002562/0.2101, allocations: 47.78 kB / 0.797 GB, free: 1.715 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002006/0.2121, allocations: 1.325 MB / 0.7983 GB, free: 372 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.2133, allocations: 427.6 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2133, allocations: 3.938 kB / 0.7987 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.2138, allocations: 230.7 kB / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.2142, allocations: 40.3 kB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.2173, allocations: 1.676 MB / 0.8006 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.2176, allocations: 0.7399 MB / 0.8013 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.2177, allocations: 13.08 kB / 0.8013 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2178, allocations: 67.47 kB / 0.8014 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.2178, allocations: 0 / 0.8014 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08573/0.3036, allocations: 4.136 MB / 0.8054 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/0.304, allocations: 211.9 kB / 0.8056 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.03, allocations: 0 / 0.8056 GB, free: 8.898 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1) Environment - environmentSimulation: