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.001558/0.001558, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001871/0.001871, allocations: 215 kB / 20.13 MB, free: 2.949 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.098/3.098, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 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.00203/0.00203, allocations: 75.84 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9701/0.9721, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001781/0.9739, allocations: 0.6746 MB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.9747, allocations: 0.8729 MB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.9747, allocations: 0 / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.9748, allocations: 8.547 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.9748, allocations: 1.094 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.975, allocations: 17.91 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.9751, allocations: 23.84 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.9751, allocations: 12.73 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.9752, allocations: 9 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.9752, allocations: 12.89 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.9753, allocations: 2.219 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.9753, allocations: 2.156 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.9753, allocations: 2.344 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.9753, allocations: 9.672 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.9754, allocations: 23.55 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9754, allocations: 0 / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9754, allocations: 1.031 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.9754, allocations: 0 / 1.342 GB, free: 15.13 MB / 1.061 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.0004073/0.9758, allocations: 340.9 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9759, allocations: 10.25 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.158e-05/0.9759, allocations: 192 / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.082e-05/0.9759, allocations: 32.22 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.9759, allocations: 6.281 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.9761, allocations: 175.8 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.9761, allocations: 384 / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.9761, allocations: 6.531 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.9763, allocations: 52.02 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9763, allocations: 0 / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.9763, allocations: 5.703 kB / 1.342 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.9763, allocations: 0 / 1.342 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.9765, allocations: 37.33 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.9767, allocations: 245 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.9769, allocations: 40.23 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.977, allocations: 19.67 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.977, allocations: 5.312 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.977, allocations: 32.56 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.977, allocations: 0 / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003514/0.9773, allocations: 79.2 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.9774, allocations: 52.53 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.9774, allocations: 105.8 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.9774, allocations: 33.64 kB / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.9774, allocations: 82.16 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.9775, allocations: 6.344 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.9775, allocations: 15.95 kB / 1.343 GB, free: 13.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.801e-05/0.9776, allocations: 313.5 kB / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.014e-05/0.9776, allocations: 17.66 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.9777, allocations: 17.92 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.9779, allocations: 41.67 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9779, allocations: 0 / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001876/0.9781, allocations: 67.95 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9781, allocations: 4.031 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9781, allocations: 1.375 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.9781, allocations: 4.75 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.9782, allocations: 15.89 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.9782, allocations: 6.125 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.9783, allocations: 9.016 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.9783, allocations: 1.469 kB / 1.344 GB, free: 13.36 MB / 1.061 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 4.167e-05/0.9783, allocations: 111.5 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.9783, allocations: 1.828 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.9783, allocations: 5.234 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.9783, allocations: 4.188 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.9783, allocations: 2.203 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9784, allocations: 3.984 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.9785, allocations: 158.9 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9785, allocations: 1.25 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.9785, allocations: 12.7 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9785, allocations: 0.75 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.9785, allocations: 1.25 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.9785, allocations: 0 / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.9785, allocations: 0 / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.9788, allocations: 167.3 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.9788, allocations: 83.02 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.9788, allocations: 0 / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.9789, allocations: 10.75 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.9789, allocations: 3.312 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.9789, allocations: 4.547 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.276e-05/0.9789, allocations: 80.47 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9789, allocations: 0 / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002289/0.9792, allocations: 3.688 kB / 1.344 GB, free: 12.71 MB / 1.061 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.0003992/0.9796, allocations: 0.698 MB / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.9798, allocations: 39.14 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9798, allocations: 0 / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.9799, allocations: 20.77 kB / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.9801, allocations: 5.641 kB / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.9805, allocations: 133.3 kB / 1.345 GB, free: 11.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.662e-05/0.9806, allocations: 0.676 MB / 1.346 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.9806, allocations: 2.203 kB / 1.346 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.9807, allocations: 13.17 kB / 1.346 GB, free: 11.17 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9807, allocations: 0 / 1.346 GB, free: 11.17 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.9979, allocations: 1.318 MB / 1.347 GB, free: 10.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/9.51, allocations: 16.33 kB / 1.347 GB, free: 10.77 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.313898538996]