Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.593/1.593, allocations: 252 MB / 267 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009839/0.0009838, allocations: 178.4 kB / 326.6 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 0.5777 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008727/0.0008728, allocations: 98.97 kB / 0.6822 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 10.97 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 106.3 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001372/0.2259, allocations: 1.116 MB / 0.9014 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.2263, allocations: 140.5 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.2264, allocations: 0 / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.2264, allocations: 7.984 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.2265, allocations: 3.938 kB / 0.9016 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.2266, allocations: 19.98 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.2267, allocations: 35.91 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.2268, allocations: 19.98 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.994e-05/0.2269, allocations: 15.92 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.2269, allocations: 19.92 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.227, allocations: 4 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.227, allocations: 0 / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.227, allocations: 7.969 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.227, allocations: 33.7 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.474e-05/0.2271, allocations: 31.86 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2271, allocations: 7.938 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2271, allocations: 0 / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2271, allocations: 4 kB / 0.9017 GB, free: 62.37 MB / 0.6042 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.0004245/0.2276, allocations: 343.5 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2276, allocations: 8.031 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.2277, allocations: 34.56 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.2277, allocations: 7.953 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.2278, allocations: 163.1 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2278, allocations: 4 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.2278, allocations: 8 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.228, allocations: 73.64 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2281, allocations: 0 / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2281, allocations: 0 / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2281, allocations: 4 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.2283, allocations: 63.89 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.2287, allocations: 292.7 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.2289, allocations: 74.55 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.229, allocations: 36.91 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.229, allocations: 3.938 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.229, allocations: 30.56 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.229, allocations: 0 / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004069/0.2294, allocations: 129.6 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.2295, allocations: 55.34 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.2295, allocations: 113.8 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2296, allocations: 25.7 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.2296, allocations: 88.03 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.2296, allocations: 15.84 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2296, allocations: 0 / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/0.2297, allocations: 310.8 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2298, allocations: 35.97 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.2299, allocations: 31.92 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.23, allocations: 28.25 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.23, allocations: 7.938 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002347/0.2302, allocations: 101.5 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2303, allocations: 7.984 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2303, allocations: 256 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2303, allocations: 0 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2304, allocations: 23.94 kB / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2304, allocations: 0 / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.2305, allocations: 12 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.2305, allocations: 3.984 kB / 0.9038 GB, free: 60.05 MB / 0.6042 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 (abs1.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.2306, allocations: 113.8 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.2306, allocations: 3.938 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.2307, allocations: 7.906 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.2307, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2307, allocations: 3.953 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2307, allocations: 0 / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2308, allocations: 181.6 kB / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2308, allocations: 0 / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.2309, allocations: 11.98 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2309, allocations: 4 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2309, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2309, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.231, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.2312, allocations: 199.4 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.2312, allocations: 77.11 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2313, allocations: 7.984 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.2314, allocations: 8 kB / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.2314, allocations: 15.92 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2314, allocations: 0 / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.2314, allocations: 87.27 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2315, allocations: 0 / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001902/0.2316, allocations: 11.95 kB / 0.9045 GB, free: 59.23 MB / 0.6042 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 (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.0004334/0.2321, allocations: 0.728 MB / 0.9052 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.2323, allocations: 75.88 kB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2323, allocations: 4 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2325, allocations: 31.97 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2327, allocations: 8 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.2335, allocations: 496.1 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.978e-05/0.2336, allocations: 0.6809 MB / 0.9065 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.611e-05/0.2337, allocations: 4 kB / 0.9065 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.2337, allocations: 11.44 kB / 0.9065 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2337, allocations: 4 kB / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.2452, allocations: 1.517 MB / 0.908 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.2453, allocations: 195.9 kB / 0.9081 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.785, allocations: 4 kB / 0.9081 GB, free: 55.49 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)