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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001232/0.001232, allocations: 108 kB / 15.61 MB, free: 152 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.001294/0.001294, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.2 MB / 0.6646 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 68.08 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8372/0.8385, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002232/0.8408, allocations: 0.6982 MB / 0.9503 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.8418, allocations: 0.8366 MB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.8418, allocations: 0 / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.8419, allocations: 7.938 kB / 0.9511 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.842, allocations: 5.281 kB / 0.9511 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.8422, allocations: 29.33 kB / 0.9511 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.8423, allocations: 41.77 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.8424, allocations: 14.55 kB / 0.9512 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.8425, allocations: 23.48 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.8426, allocations: 26.08 kB / 0.9512 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.8426, allocations: 9.031 kB / 0.9512 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.8426, allocations: 4.375 kB / 0.9512 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.8426, allocations: 17.12 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.8427, allocations: 14.86 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.561e-05/0.8428, allocations: 48.88 kB / 0.9513 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.8428, allocations: 0 / 0.9513 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8428, allocations: 0 / 0.9513 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.8428, allocations: 1.438 kB / 0.9513 GB, free: 7.684 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.0005362/0.8434, allocations: 342.2 kB / 0.9516 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.8434, allocations: 12.72 kB / 0.9517 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.8435, allocations: 7.594 kB / 0.9517 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.8436, allocations: 174.9 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.8436, allocations: 1.812 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.8436, allocations: 3.812 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.8439, allocations: 67.53 kB / 0.9519 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.8439, allocations: 3.938 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.8439, allocations: 5.281 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.8439, allocations: 0 / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.8441, allocations: 56.05 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.8446, allocations: 293.9 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.8448, allocations: 60.7 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.8449, allocations: 38.69 kB / 0.9523 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.8449, allocations: 5.094 kB / 0.9523 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.8449, allocations: 34.5 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.8449, allocations: 1.094 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004373/0.8454, allocations: 105.1 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.8454, allocations: 56.94 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.8455, allocations: 105.2 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.8455, allocations: 27.45 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.8456, allocations: 93.31 kB / 0.9527 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.8456, allocations: 8.969 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.8456, allocations: 17.41 kB / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.8457, allocations: 325.3 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.8458, allocations: 24.83 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.8459, allocations: 28.47 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.8461, allocations: 55.25 kB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8461, allocations: 0 / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002406/0.8464, allocations: 81.75 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.8464, allocations: 6.125 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.8464, allocations: 7.984 kB / 0.9533 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.8464, allocations: 1.609 kB / 0.9533 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.8466, allocations: 12.86 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8466, allocations: 0 / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.8467, allocations: 7.531 kB / 0.9533 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.8467, allocations: 6.188 kB / 0.9533 GB, free: 5.734 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.935e-05/0.8467, allocations: 120.1 kB / 0.9534 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.8468, allocations: 1.625 kB / 0.9534 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.8468, allocations: 13.38 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8468, allocations: 3.938 kB / 0.9534 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8468, allocations: 5.562 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8468, allocations: 0 / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.847, allocations: 175.4 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.847, allocations: 0 / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.256e-05/0.8471, allocations: 12.92 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8471, allocations: 0 / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.8471, allocations: 5.031 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.8471, allocations: 1 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8471, allocations: 4 kB / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.8474, allocations: 188.3 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.8474, allocations: 78.3 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.8474, allocations: 1.281 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.8475, allocations: 8.172 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.8476, allocations: 11.64 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.8477, allocations: 5.219 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.8477, allocations: 88.52 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8477, allocations: 3.938 kB / 0.954 GB, free: 5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002212/0.8479, allocations: 6.219 kB / 0.954 GB, free: 5 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.0001207/0.8481, allocations: 100.2 kB / 0.9541 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.8483, allocations: 59.72 kB / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8484, allocations: 4 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.8485, allocations: 34.83 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.8488, allocations: 7.141 kB / 0.9542 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.8492, allocations: 132.5 kB / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.8494, allocations: 0.6877 MB / 0.955 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.8494, allocations: 6.641 kB / 0.955 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.8495, allocations: 15.72 kB / 0.955 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.8495, allocations: 0 / 0.955 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of Templates: time 0.003181/0.8526, allocations: 0.8784 MB / 0.9559 GB, free: 3.57 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/jenkins/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