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.001336/0.001336, allocations: 108 kB / 15.61 MB, free: 152 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.001202/0.001202, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.724/1.724, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001443/0.001444, allocations: 72.06 kB / 0.6716 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2053, allocations: 114.6 MB / 0.7835 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001801/0.2071, allocations: 0.6961 MB / 0.7842 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008246/0.208, allocations: 0.8282 MB / 0.785 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.208, allocations: 0 / 0.785 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.208, allocations: 7.875 kB / 0.785 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.2081, allocations: 7.938 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.2082, allocations: 31.89 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.2083, allocations: 35.98 kB / 0.7851 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.2084, allocations: 19.98 kB / 0.7851 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.2085, allocations: 23.86 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.2086, allocations: 27.91 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2086, allocations: 4 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.2086, allocations: 4 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.2086, allocations: 11.98 kB / 0.7852 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.2087, allocations: 23.86 kB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.848e-05/0.2087, allocations: 39.86 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2088, allocations: 0 / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2088, allocations: 0 / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2088, allocations: 4 kB / 0.7852 GB, free: 11.68 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.0004525/0.2092, allocations: 351.7 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2093, allocations: 15.97 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.2093, allocations: 30.75 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.2093, allocations: 4.844 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2095, allocations: 172.3 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2095, allocations: 8.375 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.2095, allocations: 384 / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2097, allocations: 74.16 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2097, allocations: 3.938 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2097, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2097, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.21, allocations: 55.94 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.2104, allocations: 292.7 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.2106, allocations: 70.47 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2107, allocations: 28.91 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2107, allocations: 4 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2107, allocations: 38.56 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 3.096e-06/0.2107, allocations: 4 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004078/0.2111, allocations: 109.6 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2112, allocations: 55.34 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.2113, allocations: 105.8 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2113, allocations: 25.7 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.2113, allocations: 96.03 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.2114, allocations: 7.906 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.2114, allocations: 17.72 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2115, allocations: 322.8 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2116, allocations: 19.98 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.673e-05/0.2117, allocations: 27.97 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.2119, allocations: 52.81 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2119, allocations: 4 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002466/0.2122, allocations: 85.56 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2122, allocations: 7.984 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2122, allocations: 3.938 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.2122, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2124, allocations: 11.98 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2124, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.2124, allocations: 4 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2125, allocations: 11.98 kB / 0.7872 GB, free: 9.363 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 6.868e-05/0.2125, allocations: 113.8 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.2126, allocations: 4 kB / 0.7874 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.2126, allocations: 7.906 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2126, allocations: 0 / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2126, allocations: 0 / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2126, allocations: 7.938 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.2128, allocations: 177.5 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2128, allocations: 0 / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.2129, allocations: 15.98 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2129, allocations: 0 / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2129, allocations: 4 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2129, allocations: 3.984 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2129, allocations: 0 / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.2132, allocations: 195.2 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.2133, allocations: 81.48 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2133, allocations: 8.234 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.2134, allocations: 4 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.2135, allocations: 15.98 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.2135, allocations: 3.984 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.2135, allocations: 87.27 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2135, allocations: 0 / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002286/0.2138, allocations: 8 kB / 0.788 GB, free: 8.539 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.0005453/0.2143, allocations: 0.724 MB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.2146, allocations: 55.94 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2146, allocations: 0 / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.2147, allocations: 39.97 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.215, allocations: 0 / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.2164, allocations: 1.311 MB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.2167, allocations: 0.6846 MB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.2167, allocations: 7.984 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.2168, allocations: 15.53 kB / 0.7907 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2168, allocations: 3.938 kB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.2328, allocations: 1.791 MB / 0.7925 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.52, allocations: 0 / 0.7925 GB, free: 3.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --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)