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.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.001522/0.001522, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001784/0.001784, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.325/3.325, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_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.001977/0.001977, allocations: 64.44 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002414/0.3511, allocations: 0.671 MB / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3523, allocations: 0.867 MB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.3523, allocations: 4 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.3524, allocations: 0 / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.3524, allocations: 3.938 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.3526, allocations: 11.98 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.3527, allocations: 23.92 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3528, allocations: 8 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.3528, allocations: 11.92 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.3529, allocations: 11.98 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3529, allocations: 3.938 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.3529, allocations: 4 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.3529, allocations: 8 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.353, allocations: 0 / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/0.353, allocations: 32.11 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.353, allocations: 0 / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3531, allocations: 4 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3531, allocations: 0 / 1.347 GB, free: 14.21 MB / 1.045 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.0004353/0.3535, allocations: 262.3 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3535, allocations: 12.03 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.208e-05/0.3535, allocations: 192 / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.3536, allocations: 30.75 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.05e-05/0.3536, allocations: 4.938 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3537, allocations: 114.5 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3537, allocations: 384 / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3537, allocations: 384 / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3539, allocations: 53.98 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3539, allocations: 0 / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3539, allocations: 0 / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3539, allocations: 4 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3541, allocations: 35.84 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.3544, allocations: 220 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3546, allocations: 34.56 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.3547, allocations: 24.91 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3547, allocations: 3.984 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3547, allocations: 30.56 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3547, allocations: 0 / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.355, allocations: 89.58 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3551, allocations: 55.34 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.3552, allocations: 101.8 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3552, allocations: 25.7 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.3552, allocations: 84.14 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.3553, allocations: 7.938 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3553, allocations: 13.72 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3554, allocations: 314.8 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.3555, allocations: 16.11 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.3556, allocations: 19.98 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3558, allocations: 48.69 kB / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3558, allocations: 0 / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002056/0.356, allocations: 65.61 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.356, allocations: 8.094 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.356, allocations: 4 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.356, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.3561, allocations: 8 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3561, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.3561, allocations: 11.98 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3561, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 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.195e-05/0.3562, allocations: 117.7 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.3562, allocations: 4 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.3563, allocations: 7.297 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3563, allocations: 4 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3563, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.3563, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.3564, allocations: 124.7 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3564, allocations: 3.984 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.3565, allocations: 11.94 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3565, allocations: 3.938 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3565, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3565, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3565, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3568, allocations: 171.5 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.3568, allocations: 3.953 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.3568, allocations: 3.984 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.3569, allocations: 4 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.3569, allocations: 3.984 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3569, allocations: 4 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.3569, allocations: 79.28 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3569, allocations: 4 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002131/0.3572, allocations: 4.031 kB / 1.349 GB, free: 11.73 MB / 1.045 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.000575/0.3577, allocations: 0.6967 MB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3579, allocations: 35.95 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.358, allocations: 0 / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.358, allocations: 20.08 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3583, allocations: 13.48 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.3587, allocations: 127.3 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.346e-05/0.3588, allocations: 63.34 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.3588, allocations: 0 / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.3589, allocations: 11.44 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.3589, allocations: 0 / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.38, allocations: 1.453 MB / 1.351 GB, free: 9.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 12.45 kB / 1.351 GB, free: 9.367 MB / 1.045 GB " [Timeout remaining time 288] (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/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: 19.000480490969494]