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.01117/0.01117, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001922/0.001922, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.495/2.495, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.69 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3438, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001916/0.3457, allocations: 0.6935 MB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009563/0.3467, allocations: 0.8277 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.3468, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.3468, allocations: 11.86 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3469, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.3471, allocations: 27.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.3472, allocations: 39.91 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3473, allocations: 23.97 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.3474, allocations: 19.94 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.3475, allocations: 27.84 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3475, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.3475, allocations: 4 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.3475, allocations: 11.98 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3476, allocations: 19.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3477, allocations: 47.73 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3477, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3477, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3477, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 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.000557/0.3483, allocations: 351.4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3483, allocations: 12.03 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.3484, allocations: 4.891 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3485, allocations: 164.4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3486, allocations: 384 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3486, allocations: 8.375 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3488, allocations: 85.5 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3488, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3489, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3489, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.3491, allocations: 47.95 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.3495, allocations: 292.7 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.3497, allocations: 70.47 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3499, allocations: 32.91 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3499, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3499, allocations: 34.56 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.3499, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004344/0.3504, allocations: 109.6 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3504, allocations: 51.41 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.3505, allocations: 109.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3505, allocations: 29.7 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.3506, allocations: 88.08 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.3506, allocations: 7.953 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.3506, allocations: 21.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3508, allocations: 318.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3509, allocations: 23.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.811e-05/0.351, allocations: 23.98 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.3512, allocations: 57.03 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3512, allocations: 4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002664/0.3515, allocations: 97.52 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3515, allocations: 8 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3515, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3516, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3517, allocations: 11.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3517, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.3518, allocations: 8.234 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3518, allocations: 8 kB / 1.092 GB, free: 13.43 MB / 0.8575 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.262e-05/0.3519, allocations: 115.8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.3519, allocations: 8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.352, allocations: 7.891 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.352, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.352, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.352, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.3522, allocations: 185.6 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3522, allocations: 3.984 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.993e-05/0.3523, allocations: 15.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3523, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3523, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3523, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3523, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.3526, allocations: 183.4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.3527, allocations: 81.05 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3527, allocations: 8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3528, allocations: 3.984 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.3529, allocations: 11.98 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3529, allocations: 4 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.353, allocations: 87.22 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.353, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002277/0.3532, allocations: 15.89 kB / 1.092 GB, free: 12.62 MB / 0.8575 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.0001337/0.3533, allocations: 107.8 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3536, allocations: 55.89 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3536, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3537, allocations: 35.97 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3541, allocations: 1.562 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.3544, allocations: 132.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3546, allocations: 0.6807 MB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.155e-05/0.3547, allocations: 4.25 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.3547, allocations: 19.36 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3547, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of Templates: time 0.003085/0.3578, allocations: 0.895 MB / 1.094 GB, free: 10.64 MB / 0.8575 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