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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.413/3.413, allocations: 497.2 MB / 0.7811 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 72.31 kB / 1.134 GB, free: 33.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3732, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002529/0.3757, allocations: 0.6996 MB / 1.305 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.377, allocations: 0.8394 MB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.3771, allocations: 0 / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.3771, allocations: 3.938 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3772, allocations: 15.92 kB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.3774, allocations: 23.97 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3775, allocations: 39.92 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3777, allocations: 11.98 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.106e-05/0.3777, allocations: 23.8 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.3778, allocations: 27.91 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.3779, allocations: 4 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.3779, allocations: 4 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.3779, allocations: 11.94 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.3779, allocations: 15.92 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3781, allocations: 56 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3781, allocations: 4 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.965e-06/0.3781, allocations: 3.938 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3781, allocations: 0 / 1.306 GB, free: 15.73 MB / 1.014 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.000721/0.3788, allocations: 347.4 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.21e-05/0.3789, allocations: 12.62 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.379, allocations: 34.73 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.379, allocations: 4.891 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3793, allocations: 168.3 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.3793, allocations: 8.375 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3793, allocations: 8.125 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3795, allocations: 65.66 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3796, allocations: 3.938 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3796, allocations: 3.984 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3796, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.3798, allocations: 55.94 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.3804, allocations: 296.7 kB / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.3806, allocations: 66.47 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3807, allocations: 28.92 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3807, allocations: 0 / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3808, allocations: 38.56 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3808, allocations: 0 / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004479/0.3812, allocations: 109.6 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.3813, allocations: 55.41 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.3814, allocations: 109.8 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3814, allocations: 25.7 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.3814, allocations: 88.09 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.3815, allocations: 11.89 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.3815, allocations: 25.7 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3817, allocations: 314.8 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3818, allocations: 23.97 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.3819, allocations: 23.98 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3821, allocations: 56.81 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3821, allocations: 0 / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002527/0.3823, allocations: 89.59 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3823, allocations: 4 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3823, allocations: 0 / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3823, allocations: 4 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3825, allocations: 15.92 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3825, allocations: 0 / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.3826, allocations: 11.98 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3826, allocations: 7.875 kB / 1.308 GB, free: 13.43 MB / 1.014 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 0.0001272/0.3827, allocations: 117.8 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.3827, allocations: 0 / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.3828, allocations: 11.84 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3828, allocations: 4 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3828, allocations: 0 / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3828, allocations: 0 / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.383, allocations: 177.5 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.383, allocations: 4.328 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.3831, allocations: 15.98 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3831, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3831, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3831, allocations: 3.984 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3831, allocations: 0 / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.3834, allocations: 195.3 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.3835, allocations: 85.11 kB / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3835, allocations: 0 / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.3836, allocations: 4 kB / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.3836, allocations: 11.98 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3837, allocations: 3.984 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.138e-05/0.3837, allocations: 95.47 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3837, allocations: 0 / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002457/0.384, allocations: 4 kB / 1.308 GB, free: 12.61 MB / 1.014 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.000702/0.3847, allocations: 0.7163 MB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.3849, allocations: 59.94 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.3849, allocations: 4 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.3851, allocations: 31.97 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3854, allocations: 5.875 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.3873, allocations: 1.323 MB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3876, allocations: 0.6808 MB / 1.311 GB, free: 9.652 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.778e-05/0.3876, allocations: 11.94 kB / 1.311 GB, free: 9.641 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.3877, allocations: 19.42 kB / 1.311 GB, free: 9.621 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.3877, allocations: 4 kB / 1.311 GB, free: 9.617 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.4116, allocations: 1.826 MB / 1.313 GB, free: 7.891 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.453, allocations: 4.062 kB / 1.313 GB, free: 7.887 MB / 1.014 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.523884143680334]