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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007833/0.007833, allocations: 100 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.001813/0.001813, allocations: 183.2 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 67.89 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3199, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001917/0.3219, allocations: 0.6977 MB / 1.208 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3231, allocations: 0.8312 MB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.3232, allocations: 0 / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.3232, allocations: 3.938 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.496e-05/0.3233, allocations: 7.938 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.3235, allocations: 31.95 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3237, allocations: 39.86 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3238, allocations: 15.98 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.3239, allocations: 19.98 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.324, allocations: 23.91 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.3241, allocations: 8 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.3241, allocations: 7.938 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.3241, allocations: 7.984 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.3242, allocations: 23.92 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.3243, allocations: 47.73 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3243, allocations: 3.984 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3243, allocations: 3.938 kB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3243, allocations: 0 / 1.209 GB, free: 8.352 MB / 0.9669 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.0005845/0.3249, allocations: 351.7 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.325, allocations: 8.625 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.325, allocations: 34.73 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.3251, allocations: 12.84 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3252, allocations: 160.4 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3252, allocations: 8.375 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3253, allocations: 4.125 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3255, allocations: 65.66 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3255, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3255, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.3255, allocations: 4 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.3258, allocations: 59.88 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.3262, allocations: 296.7 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3264, allocations: 58.55 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3266, allocations: 36.84 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3266, allocations: 4 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3266, allocations: 34.56 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3266, allocations: 0 / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004323/0.3271, allocations: 105.8 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3271, allocations: 55.39 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.3272, allocations: 101.9 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3272, allocations: 33.7 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.3273, allocations: 92.03 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3273, allocations: 7.844 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.3274, allocations: 17.72 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3275, allocations: 322.8 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3276, allocations: 23.92 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/0.3277, allocations: 32.25 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.3279, allocations: 56.81 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3279, allocations: 4 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002305/0.3281, allocations: 85.64 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3282, allocations: 4 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3282, allocations: 0 / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3282, allocations: 0 / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3283, allocations: 15.98 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3283, allocations: 7.938 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.3284, allocations: 11.89 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.3284, allocations: 3.938 kB / 1.211 GB, free: 6.043 MB / 0.9669 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.26e-05/0.3285, allocations: 113.8 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3285, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.3286, allocations: 11.84 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3286, allocations: 4 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3286, allocations: 0 / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3286, allocations: 4 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.3288, allocations: 173.6 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3288, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.3289, allocations: 15.98 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3289, allocations: 0 / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3289, allocations: 0 / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3289, allocations: 0 / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3289, allocations: 0 / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.3292, allocations: 195.3 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.3292, allocations: 89.03 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3293, allocations: 0 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.3294, allocations: 4 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.3294, allocations: 11.98 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.3294, allocations: 0 / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.3295, allocations: 95.2 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.342e-06/0.3295, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000217/0.3297, allocations: 11.94 kB / 1.212 GB, free: 5.227 MB / 0.9669 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.0006282/0.3304, allocations: 0.7098 MB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.3306, allocations: 72.09 kB / 1.212 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3307, allocations: 0 / 1.212 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3308, allocations: 35.97 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3311, allocations: 1.719 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3326, allocations: 1.327 MB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3329, allocations: 0.6847 MB / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.106e-05/0.3329, allocations: 7.938 kB / 1.214 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.333, allocations: 23.42 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.333, allocations: 0 / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.3502, allocations: 1.851 MB / 1.216 GB, free: 496 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.566, allocations: 12.89 kB / 1.216 GB, free: 488 kB / 0.9669 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=50 --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) "" Variables in the reference:time,abs1.u,abs1.y Variables in the result:abs1.u,abs1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time