Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001373/0.001373, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002283/0.002283, allocations: 223.7 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.8 MB / 0.7715 GB, free: 3.93 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Reals.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 62.25 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3352, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002092/0.3372, allocations: 0.6612 MB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3384, allocations: 0.8706 MB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.3385, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.3385, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.3385, allocations: 7.938 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.3387, allocations: 11.98 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.09e-05/0.3388, allocations: 19.92 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.3389, allocations: 8 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.3389, allocations: 8 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.339, allocations: 15.91 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.339, allocations: 0 / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.339, allocations: 4 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.339, allocations: 8 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.339, allocations: 7.922 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.55e-05/0.3391, allocations: 35.36 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3391, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3391, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3391, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 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.0004488/0.3396, allocations: 263.8 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3396, allocations: 12.03 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.153e-05/0.3396, allocations: 192 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.3397, allocations: 30.75 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.3397, allocations: 4.938 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3398, allocations: 106.5 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3398, allocations: 384 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3398, allocations: 4.375 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.34, allocations: 49.98 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.34, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.34, allocations: 4 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.34, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3402, allocations: 39.89 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.3405, allocations: 223.9 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.3407, allocations: 38.59 kB / 1.286 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.3408, allocations: 20.91 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3408, allocations: 3.984 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3408, allocations: 42.44 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3408, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000354/0.3412, allocations: 81.64 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3412, allocations: 55.41 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.3413, allocations: 97.84 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.3413, allocations: 29.7 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.3414, allocations: 80.14 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.3414, allocations: 11.94 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.3414, allocations: 9.719 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3416, allocations: 318.8 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.3417, allocations: 20.11 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.3417, allocations: 15.98 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3419, allocations: 44.7 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3419, allocations: 3.938 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001842/0.3421, allocations: 65.75 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3421, allocations: 8 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3421, allocations: 0 / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.3422, allocations: 11.98 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3422, allocations: 0 / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.3422, allocations: 7.984 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.3423, allocations: 0 / 1.287 GB, free: 7.07 MB / 0.9825 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 9.072e-05/0.3423, allocations: 117.7 kB / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3424, allocations: 7.953 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.3424, allocations: 7.312 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3424, allocations: 3.938 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3424, allocations: 0 / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3424, allocations: 0 / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.3426, allocations: 132.7 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3426, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.3426, allocations: 7.984 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3426, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3426, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3426, allocations: 4 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3426, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.3429, allocations: 167.5 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.3429, allocations: 0 / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.3429, allocations: 0 / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.343, allocations: 7.984 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.343, allocations: 4 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.343, allocations: 0 / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.27e-05/0.3431, allocations: 87.27 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3431, allocations: 7.875 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000212/0.3433, allocations: 8.031 kB / 1.288 GB, free: 6.453 MB / 0.9825 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.0005906/0.3439, allocations: 0.6851 MB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.3441, allocations: 35.97 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3441, allocations: 0 / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.3442, allocations: 32 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3445, allocations: 6.188 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.3449, allocations: 131.2 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.719e-05/0.345, allocations: 59.34 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.345, allocations: 0 / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.3451, allocations: 15.44 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3451, allocations: 0 / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.3667, allocations: 1.443 MB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.85, allocations: 16.22 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.676974155008793]