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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 104.9 kB / 16.36 MB, free: 6.297 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.001308/0.001308, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.93/1.93, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001474/0.001474, allocations: 72.23 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.223, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002091/0.2251, allocations: 0.6973 MB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.226, allocations: 0.832 MB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.2261, allocations: 4 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.2262, allocations: 7.875 kB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.2262, allocations: 3.938 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.2264, allocations: 27.95 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.2265, allocations: 51.84 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2266, allocations: 12 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.2267, allocations: 19.92 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.2268, allocations: 31.89 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2268, allocations: 4 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.2268, allocations: 4 kB / 0.7865 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.2268, allocations: 4 kB / 0.7865 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.2269, allocations: 23.86 kB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.533e-05/0.227, allocations: 43.84 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.227, allocations: 4 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.658e-06/0.227, allocations: 4 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.227, allocations: 3.938 kB / 0.7865 GB, free: 1.395 MB / 0.6544 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.0005347/0.2276, allocations: 351.4 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2276, allocations: 8.031 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.2276, allocations: 8.844 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2278, allocations: 160.4 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2278, allocations: 4.375 kB / 0.787 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.2278, allocations: 8.375 kB / 0.787 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.2281, allocations: 66.22 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2281, allocations: 192 / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2281, allocations: 3.938 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2281, allocations: 4 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.2283, allocations: 51.88 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.2287, allocations: 300.7 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.229, allocations: 66.58 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2291, allocations: 28.88 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2291, allocations: 0 / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.2291, allocations: 38.44 kB / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2291, allocations: 4 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004168/0.2296, allocations: 109.6 kB / 0.7877 GB, free: 36 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3574/0.5869, allocations: 51.41 kB / 0.7877 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.5871, allocations: 105.9 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.5871, allocations: 27.67 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.5872, allocations: 88.11 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.5872, allocations: 7.125 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.5872, allocations: 21.72 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.5873, allocations: 316.6 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5874, allocations: 25.52 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-05/0.5875, allocations: 24.06 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.5877, allocations: 60.5 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5877, allocations: 3.562 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002493/0.588, allocations: 87.53 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.588, allocations: 5.969 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.588, allocations: 3.375 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5881, allocations: 2.469 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.5882, allocations: 16.44 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5882, allocations: 0 / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.5883, allocations: 12.44 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5883, allocations: 0 / 0.7885 GB, free: 48.23 MB / 0.6544 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 5.962e-05/0.5884, allocations: 114.4 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.5884, allocations: 6.594 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.5884, allocations: 7.844 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5884, allocations: 3.938 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5884, allocations: 3.141 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.5885, allocations: 2.25 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.5886, allocations: 176.8 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5886, allocations: 0 / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.5887, allocations: 14.34 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5887, allocations: 0 / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.5887, allocations: 7.062 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5887, allocations: 7.656 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5887, allocations: 0 / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.589, allocations: 181.8 kB / 0.789 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.589, allocations: 81.58 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.589, allocations: 0 / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.5891, allocations: 12.36 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.5892, allocations: 9.375 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5892, allocations: 3.688 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.5893, allocations: 86.11 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5893, allocations: 0 / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002248/0.5895, allocations: 12.47 kB / 0.7892 GB, free: 47.61 MB / 0.6544 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 9.801e-05/0.5896, allocations: 103 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.5898, allocations: 58.97 kB / 0.7894 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5899, allocations: 2.969 kB / 0.7894 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.59, allocations: 28.62 kB / 0.7894 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.5902, allocations: 10.12 kB / 0.7894 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.5906, allocations: 151.2 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.5907, allocations: 0.682 MB / 0.7902 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.5907, allocations: 11.62 kB / 0.7902 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.5907, allocations: 0 / 0.7902 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.001875/0.5926, allocations: 0.8158 MB / 0.791 GB, free: 46.69 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)