Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006995/0.006995, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001718/0.001718, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.654/2.654, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3068, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001598/0.3084, allocations: 0.7132 MB / 1.243 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.3093, allocations: 0.8312 MB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.3094, allocations: 4 kB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.3094, allocations: 3.938 kB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.3094, allocations: 0 / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.859e-05/0.3095, allocations: 23.92 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.224e-05/0.3096, allocations: 47.84 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.984e-05/0.3097, allocations: 23.97 kB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.3097, allocations: 15.98 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.3098, allocations: 23.92 kB / 1.244 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.3098, allocations: 4 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.3098, allocations: 7.938 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.3098, allocations: 11.97 kB / 1.244 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.3099, allocations: 19.92 kB / 1.244 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.754e-05/0.3099, allocations: 39.81 kB / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.31, allocations: 0 / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.31, allocations: 8 kB / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.31, allocations: 0 / 1.244 GB, free: 8.035 MB / 0.9981 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.0004523/0.3104, allocations: 359.3 kB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.3105, allocations: 8.031 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.3105, allocations: 38.69 kB / 1.244 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.3105, allocations: 0.9375 kB / 1.244 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3107, allocations: 176.3 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3107, allocations: 4.375 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3107, allocations: 8.125 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3109, allocations: 65.66 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.3109, allocations: 4 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.3109, allocations: 0 / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3109, allocations: 0 / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.3111, allocations: 55.94 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.3115, allocations: 288.8 kB / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.3117, allocations: 62.58 kB / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3118, allocations: 28.88 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3118, allocations: 4 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3119, allocations: 30.56 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3119, allocations: 7.938 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003874/0.3123, allocations: 113.6 kB / 1.245 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.3123, allocations: 51.41 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.3124, allocations: 109.8 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3124, allocations: 25.7 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.3125, allocations: 88.12 kB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.3125, allocations: 19.78 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3125, allocations: 21.72 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3127, allocations: 318.8 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/0.3128, allocations: 19.98 kB / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.3129, allocations: 31.97 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3131, allocations: 53.03 kB / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3131, allocations: 0 / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002322/0.3133, allocations: 93.62 kB / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3133, allocations: 8 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.3134, allocations: 0 / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.3134, allocations: 0 / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3135, allocations: 11.98 kB / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.3135, allocations: 0 / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.3136, allocations: 4.25 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3136, allocations: 7.922 kB / 1.246 GB, free: 5.727 MB / 0.9981 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 7.887e-05/0.3137, allocations: 117.8 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3137, allocations: 7.953 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.3137, allocations: 15.84 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3137, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3137, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3137, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3139, allocations: 181.6 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3139, allocations: 0 / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.314, allocations: 11.98 kB / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.314, allocations: 4 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.314, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.314, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.314, allocations: 4 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.3143, allocations: 183.4 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.3144, allocations: 81.06 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.3144, allocations: 7.984 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.3145, allocations: 4 kB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.3145, allocations: 11.98 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3146, allocations: 7.938 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.3146, allocations: 91.2 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.803e-06/0.3146, allocations: 0 / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000204/0.3148, allocations: 11.94 kB / 1.246 GB, free: 4.902 MB / 0.9981 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.0005666/0.3154, allocations: 0.7168 MB / 1.247 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3156, allocations: 55.88 kB / 1.247 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3157, allocations: 0 / 1.247 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3158, allocations: 39.97 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.316, allocations: 6.234 kB / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3175, allocations: 1.315 MB / 1.248 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3178, allocations: 0.6884 MB / 1.249 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.3178, allocations: 4.25 kB / 1.249 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.3179, allocations: 19.44 kB / 1.249 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.3179, allocations: 0 / 1.249 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0701/0.388, allocations: 1.822 MB / 1.251 GB, free: 204 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.506/9.894, allocations: 6.438 kB / 1.251 GB, free: 204 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches