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.001974/0.001974, allocations: 108 kB / 15.6 MB, free: 132 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.002435/0.002435, allocations: 195.9 kB / 16.53 MB, free: 6.391 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.048/3.048, allocations: 472.6 MB / 0.7451 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.03 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4307, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002166/0.4329, allocations: 0.7033 MB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.434, allocations: 0.845 MB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.4341, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.4341, allocations: 3.938 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.4342, allocations: 3.938 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.4344, allocations: 19.97 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.94e-05/0.4345, allocations: 55.84 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4346, allocations: 15.98 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.107e-05/0.4347, allocations: 11.98 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.4347, allocations: 27.86 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4348, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.4348, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.4348, allocations: 15.97 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.4349, allocations: 19.92 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.136e-05/0.4349, allocations: 51.8 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.435, allocations: 3.984 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.435, allocations: 0 / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.435, allocations: 0 / 1.07 GB, free: 8.586 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.0004915/0.4355, allocations: 347.7 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4355, allocations: 12.03 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.4356, allocations: 4.844 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4357, allocations: 172.3 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4357, allocations: 4.375 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.4357, allocations: 4.375 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.4359, allocations: 69.78 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.436, allocations: 4 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.436, allocations: 0 / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.436, allocations: 0 / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.4362, allocations: 47.95 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.4366, allocations: 300.6 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.4369, allocations: 66.58 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.437, allocations: 28.88 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.437, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.437, allocations: 42.55 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.437, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004157/0.4375, allocations: 109.6 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.4375, allocations: 51.41 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.4376, allocations: 109.8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.4376, allocations: 25.7 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.4377, allocations: 92.14 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.4377, allocations: 19.8 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.4377, allocations: 13.72 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4379, allocations: 322.8 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.438, allocations: 19.98 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.4381, allocations: 31.91 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.4383, allocations: 60.75 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4383, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002585/0.4386, allocations: 81.66 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4386, allocations: 8 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.4386, allocations: 3.984 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4386, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4388, allocations: 12.23 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4388, allocations: 4 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.4389, allocations: 8 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4389, allocations: 0 / 1.072 GB, free: 6.328 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.171e-05/0.439, allocations: 121.8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.439, allocations: 7.906 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.439, allocations: 3.906 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.439, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.439, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.439, allocations: 3.938 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.4392, allocations: 185.6 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4392, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.4393, allocations: 11.98 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4393, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.4394, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4394, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4394, allocations: 4 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.4397, allocations: 183.4 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.4397, allocations: 84.95 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4398, allocations: 0 / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.4399, allocations: 11.98 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.4399, allocations: 8.359 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.4399, allocations: 8 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.44, allocations: 83.27 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.44, allocations: 3.938 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002176/0.4402, allocations: 8 kB / 1.073 GB, free: 5.512 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.0001482/0.4404, allocations: 107.7 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.4407, allocations: 59.92 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4407, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.4408, allocations: 35.86 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4411, allocations: 11.92 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.4415, allocations: 137.5 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.4418, allocations: 0.6807 MB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.037e-05/0.4419, allocations: 11.98 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.4419, allocations: 11.44 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4419, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of Templates: time 0.00336/0.4453, allocations: 0.8889 MB / 1.074 GB, free: 3.52 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)