Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001009/0.001009, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007811/0.007812, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.184/3.184, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005672, allocations: 10.53 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4683, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001249/0.4697, allocations: 437.7 kB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4709, allocations: 0.8351 MB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.4709, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.471, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.4711, allocations: 7.938 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.4713, allocations: 15.98 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.549e-05/0.4714, allocations: 51.84 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4715, allocations: 11.98 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.4716, allocations: 15.98 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.4717, allocations: 23.86 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.4718, allocations: 0 / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.4718, allocations: 4 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.4718, allocations: 7.969 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.4719, allocations: 41.62 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.472, allocations: 55.78 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.472, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.774e-06/0.472, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.472, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 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.0005545/0.4726, allocations: 345.4 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4726, allocations: 8.031 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.4727, allocations: 4.938 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.4729, allocations: 180.2 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4729, allocations: 4.375 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.4729, allocations: 384 / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.4732, allocations: 73.78 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4732, allocations: 0 / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.4732, allocations: 7.938 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4732, allocations: 4 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.4735, allocations: 59.95 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.4741, allocations: 292.7 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.4745, allocations: 70.55 kB / 1.077 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.4746, allocations: 40.91 kB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4746, allocations: 3.984 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.4747, allocations: 34.56 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4747, allocations: 0 / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005914/0.4753, allocations: 129.5 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.4753, allocations: 55.41 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.4755, allocations: 105.8 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4755, allocations: 25.7 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.4756, allocations: 92.2 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.4756, allocations: 11.8 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.4756, allocations: 17.72 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4758, allocations: 314.8 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.4759, allocations: 31.97 kB / 1.077 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.476, allocations: 35.92 kB / 1.077 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.4763, allocations: 64.81 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4763, allocations: 0 / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002965/0.4766, allocations: 97.58 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4766, allocations: 8 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4766, allocations: 0 / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4767, allocations: 4 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.4768, allocations: 15.98 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.4769, allocations: 0 / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.4769, allocations: 7.984 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.477, allocations: 4 kB / 1.078 GB, free: 3.68 MB / 0.8262 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 0.000139/0.4771, allocations: 113.8 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.4771, allocations: 11.91 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.4772, allocations: 8.156 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4772, allocations: 3.984 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4772, allocations: 4 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4772, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.4775, allocations: 173.6 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4775, allocations: 0 / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.4776, allocations: 19.92 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4776, allocations: 0 / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4777, allocations: 3.984 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4777, allocations: 4 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4777, allocations: 0 / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.4781, allocations: 199.4 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.4781, allocations: 85.05 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4782, allocations: 4 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4783, allocations: 7.984 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.4783, allocations: 12.36 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4784, allocations: 4 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.515e-05/0.4784, allocations: 79.28 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4784, allocations: 0 / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002418/0.4787, allocations: 15.91 kB / 1.078 GB, free: 2.844 MB / 0.8262 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.0001957/0.4789, allocations: 111.2 kB / 1.078 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.4792, allocations: 63.89 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.4792, allocations: 0 / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4794, allocations: 47.91 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4798, allocations: 4 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.4803, allocations: 140.7 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.4806, allocations: 0.6809 MB / 1.079 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.246e-05/0.4807, allocations: 7.938 kB / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.4808, allocations: 11.44 kB / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4808, allocations: 0 / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.00438/0.4851, allocations: 0.7676 MB / 1.08 GB, free: 0.9648 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)