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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008585/0.0008585, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8824/0.8824, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.717/1.717, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 4 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.445e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00115/0.001165, allocations: 0.6925 MB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.001897, allocations: 0.8471 MB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.001934, allocations: 3.938 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.001963, allocations: 3.938 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.002024, allocations: 7.938 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.002167, allocations: 27.91 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.002236, allocations: 47.84 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.002327, allocations: 11.98 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.002397, allocations: 31.92 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.002452, allocations: 19.95 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.002475, allocations: 4 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.002483, allocations: 8 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.0025, allocations: 7.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.002521, allocations: 11.98 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.941e-05/0.00261, allocations: 59.72 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.002613, allocations: 0 / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.133e-06/0.002614, allocations: 0 / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.002617, allocations: 4 kB / 1.001 GB, free: 11.73 MB / 0.9636 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.0003491/0.002966, allocations: 274.3 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.003002, allocations: 8.75 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.00303, allocations: 38.75 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.00305, allocations: 4.891 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.936e-05/0.003129, allocations: 105.8 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.003141, allocations: 384 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.003153, allocations: 12.36 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.003285, allocations: 69.97 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.003291, allocations: 4 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.003299, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.003303, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.003416, allocations: 59.89 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.003734, allocations: 252.6 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.003891, allocations: 66.58 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.003951, allocations: 36.88 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.003966, allocations: 0 / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.003985, allocations: 34.5 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.003986, allocations: 0 / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002492/0.004235, allocations: 113.6 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.004261, allocations: 51.41 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/0.004319, allocations: 105.8 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.004331, allocations: 25.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.004373, allocations: 95.97 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.004387, allocations: 15.94 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.004415, allocations: 17.72 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.004491, allocations: 318.8 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.004547, allocations: 27.98 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.105e-05/0.004598, allocations: 27.91 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.004707, allocations: 48.81 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.00471, allocations: 4 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/0.004842, allocations: 93.55 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.004856, allocations: 5.719 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.004861, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.004872, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.004956, allocations: 15.97 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.00496, allocations: 0 / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.004993, allocations: 4 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.005, allocations: 4 kB / 1.003 GB, free: 9.633 MB / 0.9636 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 5.994e-05/0.00506, allocations: 125.7 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.005073, allocations: 4 kB / 1.003 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.005093, allocations: 8 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005095, allocations: 0 / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.005101, allocations: 0 / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005103, allocations: 4 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.005215, allocations: 136.7 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005216, allocations: 0 / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.005253, allocations: 11.98 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.005256, allocations: 7.984 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.005263, allocations: 4 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.005266, allocations: 3.984 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.005267, allocations: 256 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.005439, allocations: 187.4 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.005446, allocations: 3.938 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.005458, allocations: 4 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.005502, allocations: 7.984 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.005557, allocations: 11.98 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.00556, allocations: 0 / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.005591, allocations: 91.28 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005591, allocations: 3.938 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001442/0.005735, allocations: 7.938 kB / 1.004 GB, free: 8.945 MB / 0.9636 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.0003202/0.006055, allocations: 0.7244 MB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.006199, allocations: 55.89 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.0062, allocations: 4 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/0.006257, allocations: 31.97 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.006437, allocations: 4 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/0.007404, allocations: 1.339 MB / 1.006 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.007447, allocations: 67.34 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.00748, allocations: 7.984 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.007531, allocations: 16.5 kB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.007531, allocations: 0 / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.02088, allocations: 2.54 MB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.546/6.567, allocations: 2.062 kB / 1.009 GB, free: 4.168 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.513493966311216]