Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.Abs,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",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.001677/0.001677, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002296/0.002295, allocations: 195.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.776/1.776, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001472/0.001473, allocations: 74.77 kB / 0.6716 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2255, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001894/0.2274, allocations: 0.7013 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.2283, allocations: 0.8282 MB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.2284, allocations: 3.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.2284, allocations: 3.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.2285, allocations: 11.92 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.2286, allocations: 19.98 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.2287, allocations: 47.91 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2288, allocations: 12 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.2289, allocations: 19.91 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.812e-05/0.229, allocations: 27.91 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.229, allocations: 4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.229, allocations: 7.938 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.2291, allocations: 15.98 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.2291, allocations: 19.88 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.539e-05/0.2292, allocations: 51.78 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2292, allocations: 0 / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2292, allocations: 0 / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2292, allocations: 0 / 0.7852 GB, free: 11.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005754/0.2298, allocations: 347.7 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.2298, allocations: 12.03 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.2299, allocations: 34.75 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.2299, allocations: 8.844 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2301, allocations: 176.3 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2301, allocations: 4.375 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2301, allocations: 384 / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.2304, allocations: 74.2 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2304, allocations: 3.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2304, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2304, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.2306, allocations: 55.89 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.2311, allocations: 292.7 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.2313, allocations: 62.55 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2315, allocations: 40.84 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2315, allocations: 4 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.2315, allocations: 30.56 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2315, allocations: 3.938 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004443/0.232, allocations: 105.6 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.232, allocations: 55.41 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2321, allocations: 105.8 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2321, allocations: 29.7 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.2322, allocations: 88.05 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.2322, allocations: 7.906 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.2323, allocations: 17.7 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2324, allocations: 318.8 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2325, allocations: 31.91 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.2326, allocations: 27.97 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.2328, allocations: 57.08 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2328, allocations: 4 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002547/0.2331, allocations: 85.56 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2331, allocations: 6.656 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2331, allocations: 0 / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2332, allocations: 4 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2333, allocations: 11.98 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2333, allocations: 3.938 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.2334, allocations: 11.92 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2334, allocations: 4 kB / 0.7873 GB, free: 9.27 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.088e-05/0.2335, allocations: 113.8 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.2335, allocations: 7.984 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.2336, allocations: 3.906 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2336, allocations: 4 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2336, allocations: 0 / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2336, allocations: 0 / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2338, allocations: 185.5 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2338, allocations: 0 / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.2339, allocations: 12.23 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2339, allocations: 0 / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2339, allocations: 8 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2339, allocations: 0 / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2339, allocations: 3.938 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.2342, allocations: 191.3 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.2343, allocations: 77.11 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2343, allocations: 4 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.2344, allocations: 7.984 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.2345, allocations: 11.98 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.2345, allocations: 0 / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.2346, allocations: 87.28 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2346, allocations: 0 / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000218/0.2348, allocations: 8 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0006148/0.2354, allocations: 0.724 MB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.2357, allocations: 59.89 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2357, allocations: 0 / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2358, allocations: 31.97 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2362, allocations: 4 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2378, allocations: 1.327 MB / 0.79 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2381, allocations: 0.6807 MB / 0.7907 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.901e-05/0.2382, allocations: 8 kB / 0.7907 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.2383, allocations: 19.42 kB / 0.7907 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2383, allocations: 0 / 0.7907 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.2581, allocations: 1.782 MB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.118, allocations: 4 kB / 0.7925 GB, free: 3.75 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)