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.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001363/0.001363, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.54/1.54, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.199/3.199, allocations: 472.6 MB / 0.7447 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 61.52 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4569, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002248/0.4592, allocations: 0.7663 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.4602, allocations: 0.8391 MB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.4603, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.4603, allocations: 3.938 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.4604, allocations: 7.938 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.4606, allocations: 15.98 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.4607, allocations: 51.89 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.4608, allocations: 8 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.4609, allocations: 19.92 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.461, allocations: 23.91 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.461, allocations: 3.984 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.461, allocations: 11.94 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.4611, allocations: 7.984 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.4611, allocations: 19.81 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.425e-05/0.4612, allocations: 47.84 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4612, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4612, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4612, allocations: 4 kB / 1.069 GB, free: 8.984 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.0005291/0.4618, allocations: 351.7 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4618, allocations: 8.031 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.4619, allocations: 12.84 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.462, allocations: 160.4 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.462, allocations: 4.375 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.462, allocations: 4.375 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.4622, allocations: 73.77 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4623, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4623, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4623, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.4625, allocations: 55.89 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.463, allocations: 292.7 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.4632, allocations: 70.52 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.4633, allocations: 32.92 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.4633, allocations: 4.062 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.4634, allocations: 34.5 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4634, allocations: 0 / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004132/0.4638, allocations: 105.6 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.4638, allocations: 51.41 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.4639, allocations: 121.8 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4639, allocations: 29.7 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.464, allocations: 80.14 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.464, allocations: 11.81 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.464, allocations: 17.7 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.4641, allocations: 322.8 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4643, allocations: 23.97 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.4644, allocations: 27.92 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.4645, allocations: 56.81 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4646, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002379/0.4648, allocations: 85.64 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4648, allocations: 4 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4648, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4648, allocations: 4 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.465, allocations: 16.23 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.465, allocations: 0 / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.4651, allocations: 15.92 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.4651, allocations: 0 / 1.071 GB, free: 6.727 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 8.728e-05/0.4652, allocations: 121.7 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4652, allocations: 3.906 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.4652, allocations: 7.891 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4652, allocations: 8 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4652, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4653, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4654, allocations: 173.6 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4654, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.797e-05/0.4655, allocations: 19.97 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4655, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4656, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4656, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4656, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.4659, allocations: 183.8 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.4659, allocations: 92.94 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.4659, allocations: 7.922 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.466, allocations: 11.98 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.4661, allocations: 7.984 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.4661, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.4662, allocations: 87.28 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4662, allocations: 4 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002152/0.4664, allocations: 4 kB / 1.072 GB, free: 5.906 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.0001447/0.4666, allocations: 108.7 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.4668, allocations: 51.95 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4668, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.467, allocations: 43.91 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.4673, allocations: 4 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.4676, allocations: 131.3 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.4679, allocations: 0.6809 MB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.175e-05/0.468, allocations: 8 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.4681, allocations: 11.42 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.4681, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.003324/0.4714, allocations: 0.7803 MB / 1.074 GB, free: 4.039 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)