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.005785/0.005785, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001377/0.001377, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.42/2.42, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 71.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6472/0.6486, allocations: 140.3 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002022/0.6507, allocations: 0.7638 MB / 0.9503 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000856/0.6516, allocations: 0.8324 MB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.6516, allocations: 0 / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.6517, allocations: 5.312 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.6518, allocations: 0 / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.6519, allocations: 20.09 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.652, allocations: 47.09 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.6521, allocations: 13.5 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.6522, allocations: 14.86 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.6523, allocations: 34.7 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.6523, allocations: 2.75 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.6523, allocations: 2.75 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.6523, allocations: 5.375 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.6524, allocations: 16.05 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.526e-05/0.6524, allocations: 34.8 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6525, allocations: 7.875 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6525, allocations: 7.938 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.6525, allocations: 0 / 0.9514 GB, free: 7.738 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.0004446/0.6529, allocations: 351.3 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.653, allocations: 9.625 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.653, allocations: 6.219 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.231e-05/0.6531, allocations: 171.1 kB / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.6531, allocations: 7.125 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.6532, allocations: 1.75 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.6534, allocations: 73.03 kB / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6534, allocations: 0 / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6534, allocations: 0 / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6534, allocations: 1.375 kB / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.6536, allocations: 55.39 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.654, allocations: 293.3 kB / 0.9523 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.6542, allocations: 60.67 kB / 0.9523 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.6543, allocations: 32.89 kB / 0.9524 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.6544, allocations: 1.281 kB / 0.9524 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.6544, allocations: 38.5 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.6544, allocations: 5.438 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004049/0.6548, allocations: 104.9 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.6548, allocations: 52.59 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.6549, allocations: 105.9 kB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.6549, allocations: 25.7 kB / 0.9527 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.655, allocations: 94.69 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.655, allocations: 13.33 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.655, allocations: 21.81 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.912e-05/0.6551, allocations: 316 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.6552, allocations: 24.09 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.6553, allocations: 29.44 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.6555, allocations: 55.12 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6555, allocations: 4 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002329/0.6557, allocations: 85.5 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6558, allocations: 10.47 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6558, allocations: 48 / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6558, allocations: 3.984 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.6559, allocations: 12.3 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6559, allocations: 1.281 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.656, allocations: 8.172 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.656, allocations: 5.188 kB / 0.9533 GB, free: 5.789 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.549e-05/0.6561, allocations: 119.9 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.6561, allocations: 5.391 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.6562, allocations: 12.72 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.6562, allocations: 1.344 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6562, allocations: 0 / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6562, allocations: 1.062 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.6563, allocations: 175.2 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6563, allocations: 5.344 kB / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.6564, allocations: 16.3 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6565, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6565, allocations: 1.594 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6565, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6565, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.6567, allocations: 184.6 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.6568, allocations: 86.36 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.6568, allocations: 1.25 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/0.6569, allocations: 7.859 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.657, allocations: 11.77 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.657, allocations: 5.281 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.657, allocations: 84.3 kB / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.657, allocations: 0 / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002303/0.6572, allocations: 11.66 kB / 0.954 GB, free: 5.059 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 9.341e-05/0.6573, allocations: 103.9 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.6576, allocations: 50.55 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6576, allocations: 0 / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.6577, allocations: 38.53 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.658, allocations: 2.719 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.6584, allocations: 177.3 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.061e-05/0.6585, allocations: 0.6808 MB / 0.9551 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.6585, allocations: 14.45 kB / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6585, allocations: 0 / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of Templates: time 0.002334/0.6609, allocations: 0.8003 MB / 0.9559 GB, free: 3.633 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