Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.001365/0.001365, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001501/0.001501, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.961 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.311/3.311, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",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.002041/0.002041, allocations: 72.03 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3696, allocations: 180.2 MB / 1.353 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002198/0.3718, allocations: 0.6672 MB / 1.354 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.3737, allocations: 0.8553 MB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.3737, allocations: 4 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.3737, allocations: 0 / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.3738, allocations: 7.875 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3741, allocations: 11.98 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.3742, allocations: 23.92 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3743, allocations: 7.984 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.824e-05/0.3744, allocations: 11.94 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.3744, allocations: 15.92 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3745, allocations: 4 kB / 1.354 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.232e-05/0.3745, allocations: 4 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3745, allocations: 0 / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.3746, allocations: 19.86 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.3747, allocations: 24.19 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3747, allocations: 3.984 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3747, allocations: 0 / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.3747, allocations: 4 kB / 1.355 GB, free: 6.707 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.0005436/0.3753, allocations: 264.2 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/0.3753, allocations: 8.031 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.3754, allocations: 38.69 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3755, allocations: 0.9375 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3756, allocations: 110.5 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3757, allocations: 384 / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.3757, allocations: 384 / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3759, allocations: 50.23 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3759, allocations: 11.94 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.3759, allocations: 0 / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3759, allocations: 0 / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.3761, allocations: 39.89 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.3765, allocations: 216 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3766, allocations: 42.5 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3768, allocations: 24.89 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.3768, allocations: 4 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.3769, allocations: 34.5 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.3769, allocations: 0 / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004624/0.3773, allocations: 85.64 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3774, allocations: 51.41 kB / 1.355 GB, free: 5.594 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.3775, allocations: 97.84 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3775, allocations: 29.7 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.3776, allocations: 80.14 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3776, allocations: 11.94 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3776, allocations: 9.719 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3778, allocations: 323 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3779, allocations: 11.98 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.378, allocations: 19.97 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.3782, allocations: 44.7 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3782, allocations: 3.938 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002039/0.3784, allocations: 73.67 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3785, allocations: 5.562 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3785, allocations: 0 / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3785, allocations: 0 / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.3786, allocations: 11.98 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3786, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.3787, allocations: 4 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3787, allocations: 0 / 1.356 GB, free: 4.84 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 0.0002504/0.3789, allocations: 125.7 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3789, allocations: 4 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.3792, allocations: 72.89 kB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3792, allocations: 0 / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3792, allocations: 0 / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3792, allocations: 0 / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3794, allocations: 132.7 kB / 1.356 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3794, allocations: 4.031 kB / 1.356 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.3795, allocations: 7.984 kB / 1.356 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3795, allocations: 0 / 1.356 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3795, allocations: 4 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3795, allocations: 4 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3795, allocations: 0 / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.3798, allocations: 167.4 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.3798, allocations: 3.953 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3799, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.38, allocations: 15.98 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.38, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.38, allocations: 4 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.647e-05/0.3801, allocations: 79.27 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3801, allocations: 0 / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003806/0.3805, allocations: 4 kB / 1.357 GB, free: 4.152 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.0008378/0.3813, allocations: 0.6929 MB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.3816, allocations: 43.92 kB / 1.357 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3816, allocations: 0 / 1.357 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3817, allocations: 19.98 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.3822, allocations: 0 / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.3829, allocations: 139.9 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.3835, allocations: 0.6806 MB / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.3835, allocations: 8.125 kB / 1.358 GB, free: 2.473 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.3835, allocations: 7.438 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of SimCode: time 4.81e-07/0.3835, allocations: 3.938 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.4167, allocations: 1.398 MB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.79, allocations: 7.062 kB / 1.36 GB, free: 1.188 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.683622683165595]