Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001548/0.001548, allocations: 109.1 kB / 16.45 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.001722/0.001722, allocations: 192.5 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.453/1.453, 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.105/3.105, allocations: 497.2 MB / 0.7811 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 177] 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.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 73.98 kB / 1.134 GB, free: 33.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3256, allocations: 173.9 MB / 1.304 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001956/0.3275, allocations: 0.6728 MB / 1.305 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3286, allocations: 0.8472 MB / 1.306 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.3286, allocations: 4 kB / 1.306 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.3286, allocations: 0 / 1.306 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.3287, allocations: 7.875 kB / 1.306 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.3288, allocations: 11.98 kB / 1.306 GB, free: 52 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.3289, allocations: 27.91 kB / 1.306 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.329, allocations: 8 kB / 1.306 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.329, allocations: 4 kB / 1.306 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.3291, allocations: 15.98 kB / 1.306 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3291, allocations: 4 kB / 1.306 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.3291, allocations: 0 / 1.306 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.3291, allocations: 3.938 kB / 1.306 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.3292, allocations: 15.92 kB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.416e-05/0.3293, allocations: 28.11 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3293, allocations: 4 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3293, allocations: 0 / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3293, allocations: 4 kB / 1.306 GB, free: 15.94 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005006/0.3298, allocations: 335.4 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3298, allocations: 12.92 kB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.3299, allocations: 34.75 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.3299, allocations: 0.9375 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.33, allocations: 164.4 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.33, allocations: 384 / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.33, allocations: 384 / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3302, allocations: 54.23 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3302, allocations: 3.938 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.3302, allocations: 0 / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3302, allocations: 0 / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3304, allocations: 39.89 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.3308, allocations: 244.9 kB / 1.306 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3309, allocations: 50.47 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.331, allocations: 20.91 kB / 1.307 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.331, allocations: 0 / 1.307 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.331, allocations: 34.56 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.331, allocations: 0 / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003323/0.3313, allocations: 81.58 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3314, allocations: 59.41 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.3315, allocations: 97.84 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3315, allocations: 29.64 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.3315, allocations: 84.14 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.3316, allocations: 3.953 kB / 1.307 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.3316, allocations: 13.72 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3317, allocations: 319 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.3318, allocations: 19.97 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.3319, allocations: 15.98 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.332, allocations: 40.77 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.332, allocations: 7.875 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.3322, allocations: 65.72 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3322, allocations: 8 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3322, allocations: 4 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3322, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.3323, allocations: 7.984 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3323, allocations: 4 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.3324, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3324, allocations: 12.02 kB / 1.307 GB, free: 13.87 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.036e-05/0.3325, allocations: 113.8 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.3325, allocations: 4 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.3325, allocations: 7.125 kB / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3325, allocations: 0 / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3325, allocations: 0 / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3325, allocations: 0 / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3327, allocations: 169.4 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3327, allocations: 3.984 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.3328, allocations: 12 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3328, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.3328, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3328, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3328, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.333, allocations: 163.5 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.3331, allocations: 85.12 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.3331, allocations: 0 / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.3331, allocations: 4 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.3332, allocations: 7.984 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3332, allocations: 0 / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.3332, allocations: 83.28 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3332, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002238/0.3335, allocations: 4 kB / 1.308 GB, free: 13.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006414/0.3341, allocations: 0.6967 MB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3343, allocations: 39.89 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3343, allocations: 8.094 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.3344, allocations: 15.92 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3347, allocations: 9.562 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.3351, allocations: 131 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3354, allocations: 0.6768 MB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.3355, allocations: 0 / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.3355, allocations: 11.5 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3355, allocations: 4 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.3575, allocations: 1.286 MB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.602, allocations: 8.625 kB / 1.311 GB, free: 10.24 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.176554749254137]