Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_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.001117/0.001117, allocations: 98.09 kB / 16.02 MB, free: 76 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.001505/0.001505, allocations: 183.7 kB / 16.92 MB, free: 6.895 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004194, allocations: 12.28 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.767, allocations: 142.4 MB / 0.9557 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0008707/0.7679, allocations: 432.4 kB / 0.9561 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.7688, allocations: 0.8313 MB / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.7688, allocations: 0 / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.7689, allocations: 1.188 kB / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.022e-05/0.769, allocations: 7.938 kB / 0.957 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.7691, allocations: 20.91 kB / 0.957 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.7692, allocations: 38.89 kB / 0.957 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.7693, allocations: 12.67 kB / 0.957 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.571e-05/0.7694, allocations: 19.05 kB / 0.957 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.7695, allocations: 23.22 kB / 0.9571 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.7695, allocations: 5.062 kB / 0.9571 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.7695, allocations: 2.344 kB / 0.9571 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.7695, allocations: 17.3 kB / 0.9571 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.7696, allocations: 40.25 kB / 0.9571 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.144e-05/0.7697, allocations: 35.23 kB / 0.9572 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7697, allocations: 0 / 0.9572 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7697, allocations: 0 / 0.9572 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.7697, allocations: 0 / 0.9572 GB, free: 6.66 MB / 0.7169 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.0004465/0.7701, allocations: 340.4 kB / 0.9575 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7702, allocations: 13.28 kB / 0.9575 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.7702, allocations: 11.75 kB / 0.9575 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.7703, allocations: 179.2 kB / 0.9577 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.7704, allocations: 1.875 kB / 0.9577 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.7704, allocations: 1.781 kB / 0.9577 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.7706, allocations: 73.5 kB / 0.9577 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.7706, allocations: 0 / 0.9577 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7706, allocations: 5.188 kB / 0.9578 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.7706, allocations: 5.125 kB / 0.9578 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.7709, allocations: 56.55 kB / 0.9578 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.7713, allocations: 302.2 kB / 0.9581 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.7715, allocations: 69.58 kB / 0.9582 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.7716, allocations: 40.8 kB / 0.9582 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.7716, allocations: 4.906 kB / 0.9582 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.7717, allocations: 31.69 kB / 0.9582 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7717, allocations: 0 / 0.9582 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004478/0.7721, allocations: 128.4 kB / 0.9584 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.7722, allocations: 52.5 kB / 0.9584 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.7722, allocations: 105.9 kB / 0.9585 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.7722, allocations: 25.7 kB / 0.9585 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.7723, allocations: 90.17 kB / 0.9586 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.7723, allocations: 12.95 kB / 0.9586 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.7723, allocations: 16.28 kB / 0.9587 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.7724, allocations: 319.9 kB / 0.959 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.7725, allocations: 29.16 kB / 0.959 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.7726, allocations: 30.48 kB / 0.959 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.7728, allocations: 68.77 kB / 0.9591 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7728, allocations: 0 / 0.9591 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002432/0.7731, allocations: 99.27 kB / 0.9592 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.7731, allocations: 10.59 kB / 0.9592 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.7731, allocations: 0 / 0.9592 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7731, allocations: 0 / 0.9592 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.7733, allocations: 15.02 kB / 0.9592 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7733, allocations: 5.75 kB / 0.9592 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.7733, allocations: 13.2 kB / 0.9592 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.7734, allocations: 1.875 kB / 0.9592 GB, free: 4.703 MB / 0.7169 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.311e-05/0.7734, allocations: 119.6 kB / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.7735, allocations: 1.781 kB / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.7735, allocations: 13.7 kB / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7735, allocations: 0 / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.7735, allocations: 0 / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.7735, allocations: 1.781 kB / 0.9594 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.7736, allocations: 170.6 kB / 0.9595 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.7736, allocations: 0 / 0.9595 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.7737, allocations: 28.34 kB / 0.9595 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7738, allocations: 4 kB / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.7738, allocations: 0 / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7738, allocations: 1.812 kB / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7738, allocations: 256 / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.774, allocations: 197.9 kB / 0.9597 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.7741, allocations: 82.61 kB / 0.9598 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.7741, allocations: 6.125 kB / 0.9598 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.7742, allocations: 9.141 kB / 0.9598 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.7743, allocations: 10.95 kB / 0.9598 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.7743, allocations: 1.656 kB / 0.9598 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.7743, allocations: 80.78 kB / 0.9599 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7743, allocations: 4 kB / 0.9599 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002156/0.7745, allocations: 10.84 kB / 0.9599 GB, free: 3.973 MB / 0.7169 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.0001028/0.7746, allocations: 108.5 kB / 0.96 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.7749, allocations: 60.05 kB / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7749, allocations: 8 kB / 0.9601 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.7751, allocations: 34.59 kB / 0.9601 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.7753, allocations: 2.5 kB / 0.9601 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.7757, allocations: 175.6 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.7758, allocations: 0.6809 MB / 0.961 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.7758, allocations: 10.03 kB / 0.961 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7759, allocations: 0 / 0.961 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of Templates: time 0.002145/0.778, allocations: 0.798 MB / 0.9618 GB, free: 2.547 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches